|
Boost-Build : |
From: Michael Thomas Zehender (michael.zehender_at_[hidden])
Date: 2006-12-12 04:05:33
I had the same problem, with gcc toolset under mac.
Mac OS X default gcc is somewhat different, e.g. it doesn't support --
start-group and --end-group which is used within gcc toolset.
Moreover creation of shared libraries differs because it doesn't
support -shared. Instead you would have to use -dynamiclib.
See the manpages for detailed overview :), but I guess that's the
reason why we have a darwin toolset.
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
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