Boost logo

Boost Users :

Subject: Re: [Boost-users] [bjam] Generated path approaches 255 character OS limit
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-11-06 11:51:01


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

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at