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
> "Raoul Gough" <raoulgough_at_[hidden]> writes:
> > 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
> > 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

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

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

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


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at