Boost logo

Boost Testing :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2006-04-12 09:03:34

On Apr 12, 2006, at 3:13 AM, Vladimir Prus wrote:

> Douglas Gregor wrote:
>>> /usr/bin/ld: can't locate file for: -lcrt0.o
>>> Any ideas about this one?
>> Yeah, we shouldn't be linking with "-static" on darwin, ever. The
>> runtime always needs to be dynamically linked, so they don't provide
>> static libraries for it. If I remove this bit from gcc.jam, the
>> filesystem tests link and run properly on Darwin:
>> # For <runtime-link>static we made sure there are no dynamic
>> libraries
>> # in the link
>> flags OPTIONS <runtime-link>static : -static ;
>> If we can make that disappear for Darwin, but keep it around for all
>> of the other GCC variants, we'll be all set.
> Ah, that's easy. The following patch (already comitted to trunk and
> branch),
> removes -static just for darwin.
> Hope this will clear most failures.

Excellent. We'll see what happens tonight.


Boost-testing list run by mbergal at