From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-06-23 09:11:00
> I'm new to the list and new to bjam, so please accept my apologies if
> I've made a newbie error but I think there might be a problem with the
> response file processing in Boost.Build v2.
> Looking at the 'echo' lines above, it looks like the first couple of
> echoes are appending to the response file but the final one is
> overwriting the file, causing the library info to be missing from the
> link step (hence all the unresolved external errors).
You're absolutely right. It turns out that while we have test case for
prebuilt libraries, it does not catch this bug. I'll reproduced it already
and will fix tomorrow.
> Additionally and, I guess, specific to the Borland compiler, it's using
> the gcc '-l' syntax for the library which results in an 'Incorrect
> command line option' error. I had a quick look at BORLAND.JAM but
> couldn't figure out where it's going wrong, could someone please point
> me in the right direction?
It's controlled by line 150:
flags builtin.response-file LIBRARY_OPTION <toolset>borland : -l : unchecked ;
is something different needed? For example, if no option at all is needed,
just library name, one should be able to replace "-l" with "".
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