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

compiles and links cleanly with the current MinGW release.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at