From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-27 04:24:01
> > I have some concerns about the patch. Am I right that you can have
> > both gnu
> > gcc (gcc.jam toolset) and apple's gcc (darwin.jam toolset) on Mac OSX?
> > If I
> > use gnu gcc, should I use "-lrt". If yes, then your patch causes
> > *both* gnu
> > gcc and apple gcc to not use it, which is bad. If -lrt is not needed
> > for
> > either compiler, then your patch is fine.
> > But I don't know the answer to the above question. Do you?
> I'm not sure but I don't see such a lib in my system. AFAIK, it's part
> of glibc.
> Would gcc install it?
I doubt that.
> Anyway, can darwin.jam override that flag? It would be safer...
I've looked at this and think it's possible. The code at the end of gcc.jam --
which sets threading options --- would be become function like
'init-linker-flags'. However, that's a bit of work, and it's not clear if
that work is needed.
I've decided to apply the patch as-is. Thanks!
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