Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2004-04-30 05:08:49


>
g++ -I/unzipped/boost_1_31_0/ -I/usr/local/include/stlport/ -L/unzipped/boos
t_1_31_0/libs/regex/build/gcc/ -L/usr/local/lib/ -Wall -lboost_regex-gcc-1_3
1 -lstlport_gcc -c regex_sample.cpp

The g++ linker is pretty brain-dead - the libraries have to appear on the
command line *after* the source files that use them.

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net