Boost logo

Boost-Build :

From: Jim Douglas (jim_at_[hidden])
Date: 2006-02-20 06:14:02


Juergen Hunold wrote:
> On Friday 17 February 2006 17:00, Jim Douglas wrote:
>>
>>******************
>>1. The "-ftemplate-depth-100" is incorrect because it is hard coded
>>into the gcc action. It should be "-Wc,-ftemplate-depth-100"
>
>
> Well, that one should really be configurable. And its value is 255 in
> the gcc toolset of V1, by the way...

I agree. Hard coding anything into the command line is bad practise. I
have to assume that the change from 255 in bbv1 to 100 in bbv2 is a
considered change.

>>*****************
>>1. The "-Wc,-fPIC" option should be "-Wl,-fPIC". c = compiler, l =
>>linker ****************
>
>
> No. -fPIC is a valid gcc _compile_ option.

Well, that's what I thought, but the current build system seems to have
-fPIC being passed to the compile and link phases...?

Jim


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