Problem compiling the libraries with Dev-C++
Greetings, 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 4.9.9.1). When attempting to build the library with the command line; G:\Programming\SDKs\boost_1_32_0>bjam "-sTOOLS=mingw" "-sMINGW_ROOT_DIRECTORY=D:\Dev-Cpp" install 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"] ["-Wl,--exclude-symbols,_bss_end__:_bss_start_ _:_data_end__:_data_start__"] ["-Wl,--out-implib,bin\boost\libs\date_time\build\boost_date_time.dll\mingw\ debug\boost_da te_time-mgw-d-1_32.lib"] [-g] [-shared] [-Wl,--allow-multiple-definition] [-mno-cygwin] [-o] ["bin\boost\libs\date_time\ build\boost_date_time.dll\mingw\debug\boost_date_time-mgw-d-1_32.dll"] [-L"D:/Dev-Cpp/lib"] ["bin\boost\libs\date_time\b uild\boost_date_time.dll\mingw\debug\greg_month.obj"] ["bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\g reg_weekday.obj"] ["bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\date_genera tors.obj"] 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 nd__:_bss_start__:_data_end__:_data_start__ -Wl,--out-implib,bin\boost\libs\ date_time\build\boost_date_time.dll\mingw\debug\boost_date_time-mgw-d-1_32.l ib -g -shared -Wl,--allow-multiple-definition -mno-cygwin -o bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\boost_date_ti me-mgw-d-1_32.dll -LD:/Dev-Cpp/lib bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\greg_month.ob j bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\greg_weekday. obj bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\date_generato rs.obj 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; D:\Dev-Cpp\bin>g++ --version 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... Cheers, Rob
participants (1)
-
Phantom