|
Boost-Build : |
From: Zbynek Winkler (zwin_at_[hidden])
Date: 2004-03-10 13:27:15
I am working with mingw (installed by MinGW-3.1.0-1.exe) and I have the
following problem.
When creating dll bjam uses the command line such as
g++ -g -o "foo.dll" -Wl,-h -Wl,foo.dll -shared "foo.o"
but this fails saying
c:\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe:
invalid hex number for PE parameter 'foo.dll'
Changing the command to
g++ -g -o "foo.dll" -Wl,-hfoo.dll -shared "foo.o"
works without error. I've already filed a bug against the mingw package but in
the meantime it would help if I had a workaround. Could someone help me with
that? Thanks.
Zbynek
-- http://zw.matfyz.cz/ http://robotika.cz/ Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk