Boost logo

Boost-Build :

Subject: [Boost-build] Compiling and linking with different tools
From: Bo Jensen (jensen.bo_at_[hidden])
Date: 2012-03-11 08:15:22


Hi,

I am compiling with linux and linking with gcc. For several reasons I have
to use two separate tools. I used to do this by compiling all the object
files into one static library, which I then use in building other targets.
But I just realized I can not control the library size with this method,
since using all the GCC visibility settings does not work on static libs..

So my question is, can anyone point me to an example that show how to
compile a "obj" target with one tool and including this source in another
link with a different tool. When I do it I get conflicts on mixing
properties for targets.

Thanks.

/Bo



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