From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-11-05 18:33:42
[2003-11-05] Alain Javier Guarnieri del Gesu wrote:
>Where do things stand with OS X? The hello example will no link.
>When I try to build it I get this:
>[javi_at_jmac hello]$ bjam
>....found 9 targets...
>....updating 1 target...
>ld: unknown flag: -Bdynamic
> g++ -g -o "bin/gcc/debug/hello" "bin/gcc/debug/hello.o"
>-Wl,-Bdynamic -Wl,-Bstatic -Wl,-Bdynamic -Wl,-Bstatic
>....failed gcc.link bin/gcc/debug/hello...
>....failed updating 1 target...
>..From what I can see, the Mach linker is an altogether different
>beast from the GNU linker (I'm new to OS X). I suppose someone is
>going to have to go into gcc.jam or some such, and mess with linker
Which Boost.Build version ?? v1 or v2 ??
Which Boost version?? 1.30.2 or CVS ??
(for v1) Try "bjam -sTOOLS=darwin" instead, as that toolset is designed to
work for the Apple version of GCC.
(for v2) Yes someone would need to make modifications for Apple GCC.
-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq
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