Boost logo

Boost Users :

From: Jason House (jhouse_at_[hidden])
Date: 2006-05-17 14:02:16

Rush Manbert wrote:
> Jason House wrote:
>> When I run bjam install on my laptop running Mandriva 2006, it places a
>> lot of files in /usr/local/lib with names like libboost_XXX-gcc.a
>> While I know that I can pass -lboost_XXX-gcc and it links, the -gcc bit
>> seems to make things a bit too platform dependent for my liking. What's
>> the proper way to handle that extra bit at the end of the library name?
>> The project I'm working on uses autoconf/configure/make as its build
>> environment.
> Hi Jason,
> I don't know what you replaced with XXX in your library names, but if
> you specify --layout=system on the Bjam command line, the library names
> are greatly simplified. You may have done that already for all I know,
> and I don't know that it will remove the -gcc. I do know that when I
> build the Boost libs on a Mac, using the Darwin toolset, my libraries
> end up with names like libboost_date_time-d.a (debug) and
> libboost_date_time.a (non-debug).
> - Rush

--layout=system was what I needed. Thanks.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at