Boost Users :
From: Phantom (rob_at_[hidden])
Date: 2005-01-06 13:48:23
I've hit apon a slight problem when it comes to building the latest version
of boost (1.32.0) with the tools which come with Dev-C++ (distro 188.8.131.52).
When attempting to build the library with the command line;
the build process fails with the error : spawn: Invalid argument
I googled around for a bit and hit apon putting -d+4 onto the command line,
which after building the .obj files (via aload of bat files) reported back;
Executing raw command directly
Executing command ["D:\Dev-Cpp\bin\g++"] ["-Wl,--enable-auto-image-base"]
te_time-mgw-d-1_32.lib"] [-g] [-shared] [-Wl,--allow-multiple-definition]
[-mno-cygwin] [-o] ["bin\boost\libs\date_time\
spawn: Invalid argument
On the advise of someone from gamedev.net I tried the cleaned up version of
the command line myself, and it built the lib and dll ok.
the cleaned up version was :
D:\Dev-Cpp\bin\g++ -Wl,--enable-auto-image-base -Wl,--exclude-symbols,_bss_e
ib -g -shared -Wl,--allow-multiple-definition -mno-cygwin -o
So, the tools work fine, just for some reason the bjam building doesnt. Bjam
has been used by me to build the VC7.1 version of the library back when the
current boost version was released.
So, the questionis, does anyone have any idea what I might have done wrong
to cause such sillyness? The output directory of C:\boost and the "bin"
directory the build makes were both deleted prior to trying to build the
libraries with mingw32.
For completeness the output from the g++ --version is;
g++ (GCC) 3.3.1 (mingw special 20030804-1)
Any tips or help would be appricated, I dont fancy having to try to link
everything by hand...
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