|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-19 01:37:05
Hi Andre,
> I believe the following is necessary for the gcc link flags to be
> properly inherited. Two test still fail after this change (see below.
> I'll look into them if I can find some time).
> --- darwin.jam Mon Oct 18 17:48:09 2004
> +++ darwin.oring.jam Mon Oct 18 17:48:00 2004
> @@ -15,7 +15,12 @@
> toolset.register darwin ;
> import gcc ;
> toolset.inherit-generators darwin : gcc ;
> +# we can't pass -s to ld unless we also pass -static
> +# so we removed -s completly from OPTIONS and add it
> +# to ST_OPTIONS
> +toolset.inherit-flags darwin : gcc : <debug-symbols>off ;
> toolset.inherit-rules darwin : gcc ;
> +flags darwin.link ST_OPTIONS <debug-symbols>off : -s ;
Can we call 'gcc.init-link-flags' before 'inherit-rules' here, as opposed to
moving this block of code to 'init'?
> ====================== Test Results =================
>
> searched_lib FAILS:
> library_order FAILS:
I think we can still release M10 with those failures. But maybe, you can run
the tests with
searched_lib.py darwin --verbose
library_order.py darwin --verbose
and sent me the output. I might got some suggestions.
Thanks,
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