|
Boost Users : |
Subject: Re: [Boost-users] [bjam] Generated path approaches 255 character OS limit
From: Peter Klotz (peter.klotz_at_[hidden])
Date: 2008-11-06 16:10:52
Steven Watanabe wrote:
> AMDG
>
> Peter Klotz wrote:
>> When compiling Boost 1.37.0 using this bjam command line under Windows
>> I obtained the error message below:
>>
>> bjam -q -sNO_COMPRESSION=1 --build-type=complete --without-graph
>> --without-math --without-mpi --without-python --without-serialization
>> --without-signals --without-wave --toolset=msvc-8.0 architecture=x86
>> address-model=64
>>
>> failed to write output file
>> 'bin.v2\libs\test\build\msvc-8.0\debug\address-model-64\architecture-x86\asynch-exceptions-on\link-static\runtime-link-static\threading-multi\libboost_prg_exec_monitor-vc80-mt-sgd-1_37.lib.rsp'!
>>
>>
>> Obviously the path I started from (70 characters) combined with the
>> bjam generated path (192 characters) exceeds the OS limit of 255
>> characters per filename.
>>
>> Does the bjam generated path really have to be this long? Can I
>> shorten it somehow?
>>
>
> You can pass --abbreviate-paths to bjam
Thanks a lot.
This option reduces my original 262 characters path to 228 characters.
Nevertheless to be on the safe side a hash based solution like Vladimir
suggested seems to be the right way to go.
Regards, Peter.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net