$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2005-07-29 04:42:59
> basedir = E:/DigS
> boostdir = E:/boost_1_32_0
> boostlibdir = ${boostdir}/stage/lib
> boostlibtype = -mgw-mt-1_32
> boostlibs = ${boostlibdir}/boost_regex${boostlibtype}.dll
> boosttestlibs =
> ${boostlibdir}/libboost_unit_test_framework${boostlibtype}.lib
> . . .
> test : ${testobjs}
> ${CXX} -o test ${boosttestlibs} ${boostlibs} test.o ${testobjs}
When linking with gcc the order in which the libraries and object files
appear is *very* important, in particular any libraries you plan to link
against must appear *after* the object files that require them, so I'm
guessing you need:
${CXX} -o test ${testobjs} ${boosttestlibs} ${boostlibs}
HTH, John.