|
Boost Users : |
Subject: [Boost-users] Mingw: The input line is too long
From: Joost Kraaijeveld (J.Kraaijeveld_at_[hidden])
Date: 2010-09-05 09:23:41
Hi,
When I compile Boost i get the following error (for several libraries):
F:\boost_1_42_0>"g++" "-Wl,--out-implib,bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\boost_serialization-mt-d.lib" -o "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\boost_serialization-mt-d.dll" -shared -Wl,--start-group "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_archive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_iarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_iserializer.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_oarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_oserializer.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_pointer_iserializer.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_pointer_oserializer.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_serializer_map.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_text_iprimitive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_text_oprimitive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_xml_archive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\binary_iarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\binary_oarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\extended_type_info.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\extended_type_info_typeid.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\extended_type_info_no_rtti.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\polymorphic_iarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\polymorphic_oarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\stl_port.o" "bin.v2\libs\se
The input line is too long.
"g++" "-Wl,--out-implib,bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\boost_serialization-mt-d.lib" -o "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\boost_serialization-mt-d.dll" -shared -Wl,--start-group "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_archive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_iarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_iserializer.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_oarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_oserializer.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_pointer_iserializer.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_pointer_oserializer.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_serializer_map.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_text_iprimitive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_text_oprimitive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\basic_xml_archive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\binary_iarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\binary_oarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\extended_type_info.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\extended_type_info_typeid.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\extended_type_info_no_rtti.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\polymorphic_iarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\polymorphic_oarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\stl_port.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\text_iarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\text_oarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\void_cast.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\archive_exception.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\xml_grammar.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\xml_iarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\xml_oarchive.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\xml_archive_exception.o" "bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\shared_ptr_helper.o" -Wl,-Bstatic -Wl,-Bdynamic -Wl,--end-group -g -mthreads
...failed gcc.link.dll bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\boost_serialization-mt-d.lib bin.v2\libs\serialization\build\gcc-mingw-4.5.0\debug\threading-multi\boost_serialization-mt-d.dll...
I have tried to compile Boost in the directory "b" and/or with the
options "--md5" and/or "--abbreviate-paths" but nothing helped.
As mingw is advertised in the "Boost's additional test compilers
include:" section I guess that i (in theory) should be possible to
compile it.
Does anyone hav any idea how to achieve this? How can I compile Boost
1.42 using Mingw both static AND dynamic?
TIA
-- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl
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