Worked like a charm!  Many thanks!
johnh

On Thu, Jan 6, 2011 at 11:48 AM, John Maddock <boost.regex@virgin.net> wrote:
To compile and link:
g++ -o regex-test  -I../../boost/boost_1_45_0/
-L../../boost/boost_1_45_0/stage/lib/  -lboost_regex   regex-test.cpp

GCC requires that libraries appear *after* the source files that use them, fix that and it should work,

HTH, John.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users



--
Join us at at Tampa Bay's largest Tax Day Tea Party: www.TaxDayTampaBay.com

Revolution is Brewing--America Rising
www.Tampa-Tea-Party.com