Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-08-30 04:49:16


> Sorry, I don't get the ordering issue you mention...
>
> I used Dev-cpp for creating the makefile but that makes little difference.
> Anyway, here is the executed linking command line for the "grep" example:
>
> g++.exe -D__DEBUG__ grep.o -o "regex_grep.exe" -L"lib"
> ../../../../bin/boost/libs/regex/build/libboost_regex.lib/mingw/debug/libboost_regex-mgw-d-1_33.lib
> ../../../../bin/boost/libs/program_options/build/libboost_program_options.lib/mingw/debug/libboost_program_options-mgw-d-1_33.lib
> -g3

Well there's something wrong at your end, because it works for me:

cd libs/regex/example/grep
g++ -I../../../.. -c -o grep.o grep.cpp
g++ -o grep.exe grep.o
'C:\data\boost\develop\boost\bin\boost\libs\regex\build\libboost_regex.lib\mingw\debug\threading-multi\libboost_regex-mgw-mt-d-1_33.lib'
'C:\data\boost\develop\boost\bin\boost\libs\program_options\build\libboost_program_options.lib\mingw\debug\threading-multi\libboost_program_options-mgw-mt-d-1_33.lib'
 -g3

compiles and links cleanly with the current MinGW release.

John.


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