Boost logo

Boost-Build :

From: Lally Singh (lally.singh_at_[hidden])
Date: 2006-06-25 16:49:13


Thanks so much for your help. I put the using darwin : 3.2 :
/Users/lally/Work/bin/gfilt ; line into ~/user-config.jam, and it did
exactly what you said. Wonderfully formatted warnings, and ld's not
complaining about unknown flags anymore.

But, it's not linking in the libraries. I'm sorry.
bjam eventually runs:

    /Users/lally/Work/bin/gfilt -o "bin/darwin-3.2/debug/mfront"
"bin/darwin-3.2/debug/config.o" "bin/darwin-3.2/debug/driver.o"
"bin/darwin-3.2/debug/output.o" "bin/darwin-3.2/debug/main.o"
"bin/darwin-3.2/debug/map.o" "bin/darwin-3.2/debug/actions.o"
"bin/darwin-3.2/debug/generator.o" -g

which complains about many, many undefined symbols.

Is there any other means of specifying a library to link in?

On 6/25/06, Reece Dunn <msclrhd_at_[hidden]> wrote:
> 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
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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