Boost logo

Boost-Build :

Subject: [Boost-build] The input line is too long (building on MinGW Boost 1.41.0)
From: ajalkane (ajalkane_at_[hidden])
Date: 2010-03-05 13:56:05


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?

Here's one example of the error message:

c:\di\libs\boost_1_41_0>"c:\mingw\bin\ar.exe" rc "my-build\boost\bin.v2\libs\py
thon\build\gcc-mingw-4.4.0\release\link-static\threading-multi\libboost_python-m
gw44-mt-1_41.lib" "my-build\boost\bin.v2\libs\python\build\gcc-mingw-4.4.0\relea
se\link-static\threading-multi\numeric.o" "my-build\boost\bin.v2\libs\python\bui
ld\gcc-mingw-4.4.0\release\link-static\threading-multi\list.o" "my-build\boost\b
in.v2\libs\python\build\gcc-mingw-4.4.0\release\link-static\threading-multi\long
.o" "my-build\boost\bin.v2\libs\python\build\gcc-mingw-4.4.0\release\link-static
\threading-multi\dict.o" "my-build\boost\bin.v2\libs\python\build\gcc-mingw-4.4.
0\release\link-static\threading-multi\tuple.o" "my-build\boost\bin.v2\libs\pytho
n\build\gcc-mingw-4.4.0\release\link-static\threading-multi\str.o" "my-build\boo
st\bin.v2\libs\python\build\gcc-mingw-4.4.0\release\link-static\threading-multi\
slice.o" "my-build\boost\bin.v2\libs\python\build\gcc-mingw-4.4.0\release\link-s
tatic\threading-multi\converter\from_python.o" "my-build\boost\bin.v2\libs\pytho
n\build\gcc-mingw-4.4.0\release\link-static\threading-multi\converter\registry.o
" "my-build\boost\bin.v2\libs\python\build\gcc-mingw-4.4.0\release\link-static\t
hreading-multi\converter\type_id.o" "my-build\boost\bin.v2\libs\python\build\gcc
-mingw-4.4.0\release\link-static\threading-multi\object\enum.o" "my-build\boost\
bin.v2\libs\python\build\gcc-mingw-4.4.0\release\link-static\threading-multi\obj
ect\class.o" "my-build\boost\bin.v2\libs\python\build\gcc-mingw-4.4.0\release\li
nk-static\threading-multi\object\function.o" "my-build\boost\bin.v2\libs\python\
build\gcc-mingw-4.4.0\release\link-static\threading-multi\object\inheritance.o"
"my-build\boost\bin.v2\libs\python\build\gcc-mingw-4.4.0\release\link-static\thr
eading-multi\object\life_support.o" "my-build\boost\bin.v2\libs\python\build\gcc
-mingw-4.4.0\release\link-static\threading-multi\object\pickle_support.o" "my-bu
ild\boost\bin.v2\libs\python\build\gcc-mingw-4.4.0\release\link-static\threading
-multi\errors.o" "my-build\boost\bin.v2\libs\python\build\gcc-mingw-4.4.
The input line is too long.


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