Boost logo

Boost-Build :

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...
> bin/gcc/debug/hello
>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 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 ??

Guessing here...

(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) - grafik (at)
-- 102708583 (at) icq


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at