
25 Aug
2003
25 Aug
'03
12:14 p.m.
how to staticaly link a boost library (regex) to a project (what is the g++ command line for that) Thanks PS i have only used VC till now.

26 Aug
26 Aug
10:09 a.m.
New subject: [Boost-Users] newbie: comand line for g++
how to staticaly link a boost library (regex) to a project (what is the g++ command line for that) Thanks
If the library is in your compilers search path (usr/local/lib is the usual place to put these things, then: g++ object-file-list -lboost_regex will do it, otherwise you can explicitly add the name of the library to the list: g++ object-file-list boost-root/libs/regex/build/gcc/libboost_regex.a etc... John.
7904
Age (days ago)
7905
Last active (days ago)
1 comments
2 participants
participants (2)
-
John Maddock
-
Ruslan Talpa