|
Boost-Build : |
Subject: Re: [Boost-build] Adding a toolset for a compiler
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-09-20 21:35:22
AMDG
On 09/20/2018 03:17 PM, Edward Diener via Boost-build wrote:
> On 9/20/2018 3:01 PM, Steven Watanabe via Boost-build wrote:
>> <snip>
>> d) Generators for each rule. generators.register-c-compiler,
>> Â Â Â generators.register-linker, and generators.register-linker
>> Â Â Â should work.
>
> You repeated 'generators.register-linker' twice. Did you mean something
> else for the second repetition ?
>
Oops. I meant generators.register-archiver.
>> Â If you inherit from `unix`, then you get these
>>    automatically. (Note: you should inherit from `unix` iff
>> Â Â Â library order on the command line must follow the usual
>> Â Â Â unix rules.)
>
> What are the usual 'unix rules' ? That all external references in a
> library/object file must be resolved by a previous library/object file
> in the sequence of library/object files mentioned ? Or something else ?
>
It's the opposite, actually. When processing an
static library, the linker skips archive members that
do not resolve any symbols that have been seen
previously.
In Christ,
Steven Watanabe
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