Boost logo

Boost Users :

From: Rush Manbert (rush_at_[hidden])
Date: 2006-05-17 13:11:20


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net