|
Boost-Build : |
Subject: Re: [Boost-build] Generating multiple CPP/H targets from a singlesource
From: Fabien Chêne (fabien.chene_at_[hidden])
Date: 2010-08-17 04:56:58
2010/8/16 Johan Nilsson <r.johan.nilsson_at_[hidden]>:
> Fabien Chêne wrote:
>
> [snip]
>
>> Unfortunately, I run into another problem with this patch. If bjam is
>> invoked from the toplevel of my project, it fails bawling something
>> like: 'actions too long (more than 102400)'. Indeed there are a lot of
>> sources in this library, with very long path. Apparently, something --
>> perhaps not relative to the correctness of the patch -- causes the
>> command line to increase a bit. Is it possible to increase MAXLINE ?
>> (With MAXLINE in jam.h set to 112400, it works for me).
>
> You could try "bjam --abbreviate-paths" to see if it helps
Yes, it solves my problem for now. Any magic to make it the default option ?
However, if the library grows up, I will fall one day or later in the
same issue.
Why MAXLINE is set to 102400 and not to a higher value ? (I guess
dynamic allocation is not possible)
> (IIRC Volodya has
> also previously mentioned "bjam --md5", but haven't tried that myself).
I don't know what it does, but I get the same error than above:
actions too long ...
Volodya, I agree that this problem is not related with your patch,
which seems to work well for my project.
I think you can check in this change. Thanks again.
-- Fabien
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