$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (boost.regex_at_[hidden])
Date: 2003-08-26 05:09:04
> 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.