Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-06-25 16:21:48


Lally Singh wrote:
> It's helping, and I'm very close!
>
> The new Jamfile.v2:
> using gcc ;

You'll want to put this in the user-config.jam. See

   http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html

for more information.

> Only thing that fails now is an unknown flag given to ld:
> gcc.link bin/gcc/debug/mfront
> /usr/bin/ld: unknown flag: --start-group
> collect2: ld returned 1 exit status
>
> Perhaps I need to define a different toolchain? (MacOSX 10.4.6)

If you are building for the Mac, you'll be better off using darwin (which
derives from gcc):

   using darwin ;

> Also, one slightly-related question: is there a way to call the
> compiler with another name (e.g. call "gfilt" instead of "g++")? I'd
> like to use STLFilt.

Easy. (This is in the above documentation):

   using darwin : 3.2 : /usr/bin/gfilt ;

HTH,
Reece
_________________________________________________________________
Try Live.com: where your online world comes together - with news, sports, weather, and much more.
http://www.live.com/getstarted


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