From: Konstantin M. Litvinenko (gclbb-jamboost_at_[hidden])
Date: 2003-06-26 03:34:13
You wrote on Wed, 25 Jun 2003 15:46:10 +0400:
>> When i build my library linker says: "library was too large for
>> page size, rebuilt with page size 512". I can't figure out how to fix
>> it without intrusion into borland.jam and replacing /P256 on /P512.
>> How to do this in a legal way?
VP> I think the only reasonable way is to change borland.jam. That's
VP> some complete brokeness (IMO) on the part of borland's linker, and
VP> making page size a user option just does not feel right. It should
VP> always work, and /P512 is the only way.
Why couldn't we add small piece of code to support these brokeness?
I don't know jam good but this works, when added to borland.jam:
feature.feature lib-page-size : : free ;
local pageSize = 256 ;
if <lib-page-size> in $(3:G)
pageSize = [ feature.get-values <lib-page-size> : $(3) ] ;
LIB_PAGE_SIZE on $(<) = $(pageSize) ;
actions updated together piecemeal archive
"$(.root)tlib" /P$(LIB_PAGE_SIZE) /u /a /C "$(<:W)" +-"$(>:W)"
Why borland.jam doesn't containe line that describes <linkflags>
feature? I can't pass linker options without this line:
flags borland.link OPTIONS <linkflags> ;
With best regards, Konstantin M. Litvinenko aka Dark Angel.
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