Boost logo

Boost-Build :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2006-12-12 10:29:05


I have done more tests and a standard gcc or ConceptGCC also does not
work with the darwin toolset with errors such as:

g++: unrecognized option '-no-cpp-precomp'
cc1plus: error: unrecognized command line option "-Wno-long-double"

We thus have two types of gcc compilers with different options:

* Apple's gcc supported by the darwin toolset
* A generic gcc, which should be but is not yet supported by the gcc
toolset

It thus seems to me that we need both the darwin toolset and a gcc
toolset supporting a generic gcc on MacOS X

Matthias

On 12 Dec 2006, at 17:22, Michael Thomas Zehender wrote:

> Sorry, maybe I didn't mention the point I was going to post for ...
>
> in the output of compilation you see that it uses the default apple
> ld and this one doesn't support --start-group, etc.
>
> Greetings,
> Michi
>
> On Dec 12, 2006, at 9:56 AM, Matthias Troyer wrote:
>
>>
>> On 11 Dec 2006, at 23:34, David Abrahams wrote:
>>
>>> Matthias Troyer <troyer_at_[hidden]> writes:
>>>
>>>> Shall I just try to install gcc and build Boost on my Mac to see
>>>> what
>>>> happens?
>>>
>>> That'd be useful, thanks
>>
>> It failed with the current CVS HEAD. As non-Apple gcc I used a recent
>> version of ConceptGCC which I have installed on my MacBook Pro, and
>> had the following line in my user-config.jam:
>>
>> using gcc : 4.1.1 : /Users/troyer/concepts/bin/g++ ;
>>
>> I tried one of the regression tests and got the error messages are
>> attached below. It would actually be very useful to get the gcc
>> toolset to work under darwin, in addition to the darwin toolset.
>>
>> Matthias
>>
>>
>>
>> The mpi module has not been initialized; MPI libraries will not be
>> built.
>> hint: add "using mpi ;" to user-config.jam to enable MPI support.
>> warning: Python location is not configured
>> warning: the Boost.Python library won't be built
>> Building Boost.Regex with the optional Unicode/ICU support disabled.
>> Please refer to the Boost.Regex documentation for more information
>> (and if you don't know what ICU is then you probably don't need it).
>> ...patience...
>> ...found 514 targets...
>> ...updating 6 targets...
>> gcc.link ../../../bin.v2/libs/random/test/random_test.test/gcc-4.1.1/
>> debug/random_test
>> /usr/bin/ld: unknown flag: --start-group
>> collect2: ld returned 1 exit status
>>
>> "/Users/troyer/concepts/bin/g++" -o "../../../bin.v2/libs/
>> random/test/random_test.test/gcc-4.1.1/debug/random_test" -Wl,--
>> start-
>> group "../../../bin.v2/libs/random/test/random_test.test/gcc-4.1.1/
>> debug/random_test.o" -Wl,--end-group -g
>>
>> ...failed gcc.link ../../../bin.v2/libs/random/test/random_test.test/
>> gcc-4.1.1/debug/random_test...
>> ...skipped <p../../../bin.v2/libs/random/test/random_test.test/
>> gcc-4.1.1/debug>random_test.run for lack of <p../../../bin.v2/libs/
>> random/test/random_test.test/gcc-4.1.1/debug>random_test...
>> gcc.link ../../../bin.v2/libs/random/test/random_demo.test/gcc-4.1.1/
>> debug/random_demo
>> /usr/bin/ld: unknown flag: --start-group
>> collect2: ld returned 1 exit status
>>
>> "/Users/troyer/concepts/bin/g++" -o "../../../bin.v2/libs/
>> random/test/random_demo.test/gcc-4.1.1/debug/random_demo" -Wl,--
>> start-
>> group "../../../bin.v2/libs/random/test/random_demo.test/gcc-4.1.1/
>> debug/random_demo.o" -Wl,--end-group -g
>>
>> ...failed gcc.link ../../../bin.v2/libs/random/test/random_demo.test/
>> gcc-4.1.1/debug/random_demo...
>> ...skipped <p../../../bin.v2/libs/random/test/random_demo.test/
>> gcc-4.1.1/debug>random_demo.run for lack of <p../../../bin.v2/libs/
>> random/test/random_demo.test/gcc-4.1.1/debug>random_demo...
>> ...failed updating 2 targets...
>> ...skipped 4 targets...
>>
>>
>> _______________________________________________
>> Unsubscribe & other changes: http://lists.boost.org/mailman/
>> listinfo.cgi/boost-build
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/
> listinfo.cgi/boost-build


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