|
Boost-Build : |
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2008-05-16 11:23:20
On Fri, May 16, 2008 at 9:34 AM, Dirk Griffioen <dirk_at_[hidden]> wrote:
> Felipe Magno de Almeida wrote:
>> Hi,
>>
>> PowerShell from Microsoft have higher limits, I wonder if it is
>> possible to configure boost.build to use powershell instead
>> of cmd.exe for execute commands.
>> I'm having problems with compile.rc giving actions too long errors
>> because it doesn't have the @ option as does
>> the link and cl commands.
>>
>> Regards,
>>
> Hi Felipe,
>
> You could set the max to something like 8092 long - see
> http://www.code-shop.com/2007/7/18/bjam-max_path
For cmd.exe I get "The input line is too long." for more than 2047 for
Windows Vista nor Windows 2008.
I don't know why they say it is 8192. But it doesn't seem to work for me.
I have used a workaround with powershell though. It works quite well,
it is just annoying to use -sJAMSHELL=powershell everytime I use
bjam.
> Best, Dirk
>
> --
> www.code-shop.com
Regards,
-- Felipe Magno de Almeida
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