Boost logo

Boost-Build :

From: Alain Javier Guarnieri del Gesu (javi-jamboost_at_[hidden])
Date: 2003-11-05 16:22:03


* Rene Rivera <grafik666_at_[hidden]> [2003-11-05 19:33]:
> [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...
> >gcc.link 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
> >-Wl,-Bdynamic
> >
> >....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
> >settings.
>
> 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.

Boost.Build version v2 from CVS.

(v2) I'll do it with help from the mailing list. Note that the
object files are compiling fine. It seems to be a matter of the
linker switches.

-- 
Alain Javier Guarnieri del Gesu - javi_at_[hidden]
 

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