Boost logo

Boost-Build :

From: Raoul Gough (raoulgough_at_[hidden])
Date: 2003-01-21 19:08:26


"David Abrahams" <dave_at_[hidden]> wrote in message
news:u7kcy2igf.fsf_at_boost-consulting.com...
> "Raoul Gough" <raoulgough_at_[hidden]> writes:
[snip]
> > The change is easy for mingw-tools.jam (just add the option to
> > IMPLIB_COMMAND), but I'm not sure about gcc-tools.jam, since I
don't
> > know if the option is available on platforms other than Win32.
>
> Can't you just make it conditional on $(NT)?

Yes, I guess that would be the way to go. I don't really know enough
about jam to do this with any confidence. The only way I could think
of would be to introduce a new variable, which is either empty or set
to enable-auto-image, and include this in the assignment to
IMPLIB_COMMAND somehow.

I've tried doing something like the following *after* the current
assignment:

if $(NT) {
# Give the enable-auto-image-base option to the linker as well
IMPLIB_COMMAND on $(<) = "-Wl,--enable-auto-image-base " +
IMPLIB_COMMAND ;
}

But this doesn't seem to pick up the previous value. Is this even
possible? How would a real jam programmer do this kind of thing?

Raoul Gough.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

 


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