Boost logo

Boost-Build :

Subject: Re: [Boost-build] The input line is too long (building on MinGW Boost1.41.0)
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-03-11 07:53:44


Johan Nilsson wrote:
> ajalkane wrote:
>> Hi,
>>
>> I have a problem I've tried to fix for hours, that is linking the
>> libraries fails
>> because the command-line input is too long for Windows to handle. I
>> have tried reading the boost documents, googling for the problem, and
>> defining my own variant rules to no awail.
>>
>> I suspect this is a very simple problem in principle, but I just
>> haven't been able to find how to fix it. Basically, how can I reduce the
>> command-line length? It seems to me the build directory contains too
>> many levels, I'd like
>> to just specify
>> a single level and maybe that would be enough. In the example I'm
>> pasting, each library seems to be built into a sub-directory of
>> "gcc-mingw-4.4.0\release\link-static\threading-multi". I suspect that
>> if I can in someway reduce that to "my-mingw" or something, I'd have a
>> chance
>> to build the library.
>> Anyone know how to do that?
>
> You could try to use "bjam --abbreviate-paths".

Or, in 1.42, "bjam --md5".

- 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