Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2007-04-19 08:29:38


DrAnonymous wrote:
> I went into -
>
> boost_1_33_1/tools/build/v2/example/hello
>
> and ran bjam. It created a working binary under the bin directory.
> When I tried:
>
> bjam release
>
> I got this error:
>
> [Apple:v2/example/hello] aaronrob% bjam release
> ...found 9 targets...
> ...updating 1 target...
> gcc.link bin/gcc/release/hello
> /usr/bin/ld: unknown flag: --strip-all
> collect2: ld returned 1 exit status
>
> "g++" -o "bin/gcc/release/hello" "bin/gcc/release/hello.o"
> -Wl,--strip-all
>
> ...failed gcc.link bin/gcc/release/hello...
> ...failed updating 1 target...
> [Apple:v2/example/hello]
>
> Is this a bug of some type? gcc --version gives this info:
>
> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
>
> Thanks,
> Aaron R>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>

Based on the output directory, it looks like you're doing "using gcc
..." when you need to do "using darwin ...".

Phillip


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