Boost logo

Boost-Build :

Subject: Re: [Boost-build] Library generation GCC on Windows vs Linux
From: Christian Auby (christian_at_[hidden])
Date: 2009-11-20 08:33:19


D:\dev\projects\test\hello>bjam -d+2 -a
gcc.compile.c++ bin\gcc-mingw-3.4.5\debug\link-static\main.o
    "g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -g
-I"d:\dev\bin\boost" -I"lib" -c -o "bin\gcc-mingw-3.4.5\debu
g\link-static\main.o" "main.cpp" bin\gcc-mingw-3.4.5\debug\link-static\app.exe
    "g++" -L"d:\dev\bin\boost\stage\lib" -L"lib"   -o
"bin\gcc-mingw-3.4.5\debug\link-static\app.exe" -Wl,--start-group
"bin\gcc-mingw-3.4.5\debug\link-static\main.o"  -Wl,-Bstatic -lhello
-Wl,-Bdynamic  -Wl,--end-group -g
Yes links fine. I've used MinGW + for a while now.
Vladimir Prus wrote:
> On Friday 20 November 2009 16:12:16 Christian Auby wrote:
>> If I rename "libhello.lib" to "libhello.a" it does link as expected on
>> MinGW. 
> BTW, does it really link? I though that mingw does not like the fact that
> Boost.Build does not ran 'ranlib' on static libraries...
> - Volodya
> _______________________________________________
> Unsubscribe & other changes:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at