Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-06-27 01:04:07


On Friday 27 June 2008 01:21:06 Nafi Diallo wrote:
> Thank you Volodya.
>
> I have a different questions, I built static libraries using the following bjam statement:

Please keep the discussion on the list.

> ./bjam -a link=static --toolset=gcc --with-thread --with-regex --with-date_time --with-serialization --with-system --prefix=/usr/local/ install
>
> then in my makefile, I have :
>
> INC = /usr/local/include/boost-1_35/
> LIBP=/usr/local/lib/
> LDFLAGS+= -Wl,-R/usr/local/lib/
> PROJECT = http_server
> INCL = -I. -I$(INC)
> LIBS_DIR = -L$(LIBP)
> LIBS = -llibboost_system-gcc32-mt -llibboost_thread-gcc32-mt

Remove the "lib" from the line above. (BTW, this is not related to Boost.Build
either -- that's the way Unix linkers work).

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk