Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-06-30 07:24:08


Hi Ian,

> As a test I added an echo line to the 'link bind LIBRARIES' action at
> the bottom of the file and that got executed, so I'm fairly sure that
> I'm using the new Borland.Jam file. If you look at my original post, the
> empty -L switch was being passed to the compiler/linker then too BUT
> there was also an additional text-action which was writing a -L line
> into the response file. The attached test.zip file contains my Jamfile
> and the main.cpp file which is all that you should need to reproduce.

Actually, there's a gotcha with borland that I've found when addressing your
earlier email. -L switches have no effect in response file. So I've changed
the code so that it does not emit -L switches to response file, but
passes everything needed via -L option in the command line.

The key line is

toolset.flags borland.link LIBRARY_PATH <library-path> ;

which should correctly set varible LIBRARY_PATH, used in "link" action. I've
just tested it again and it seem to work. So I'm really looking for the files
you forgot to attach :-)

Thanks,
Volodya

 


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