Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-03-26 11:08:37


        
It appears that Andre Hentz hit a bug in response file handling (hmm.. no
wonder, after all msvc toolset did not pass all the testsuite yet).

For gcc linking, we do some special things:

1. Sources which are of LIB kind are converted to <library> properties
2. Sources which are of 'searched-lib-target' class are converted into
<find-static-library> and <find-shared-library> internal properties

The problem with response files and msvc is that searched lib targets are not
converted into special features, and therefore are not converted into linker
flags.

I think we need to fix it. The plan is:

1. Make 'builtin.response-file' generator use the same 'builtin.link-action'
class as 'builtin.linking-generator' --- reusing the logic which moves
searched libs from sources to properties.

2. Add flags for 'builtin.response-file' which will convert
<find-shared-library>/<find-static-library> into on-target variables, and
adjust the action to output needed '-l' flags. To avoid command line length
limitations, we can use 'print.text' rule to output flags.

Do I miss anything? Would be great if someone could fix this problem.

- 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