Code: Select all
cd build\msw
mingw32-make -f makefile.gcc UNICODE=1 SHARED=0 MONOLITHIC=1 DEBUG=0
My linker command line is:
Code: Select all
mingw32-g++.exe -o bin\wx29-release\hint.exe <project objects> -s -static-libgcc -static-libstdc++ -mthreads `wx-config --wxcfg=gcc_lib\mswud --libs` -mwindows
Code: Select all
mingw32-g++.exe -o bin\wx29-release\hint.exe <project objects> obj\wx29-release\resource.res -s -static-libgcc -static-libstdc++ -mthreads -Lc:\dev\_tools\wxWidgets-2.9.1\lib\gcc_lib -lwxmsw29ud -lwxtiffd -lwxjpegd -lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexud -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -mwindows
Code: Select all
c:/dev/_tools/mingw-new/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: c:\dev\_tools\wxWidgets-2.9.1\lib\gcc_lib/libwxmsw29ud.a(monolib_window.o): warning: duplicate section `.rdata$_ZTSN9wxPrivate11HandlerImplI12wxEvtHandler7wxEventLb1EEE[typeinfo name for wxPrivate::HandlerImpl<wxEvtHandler, wxEvent, true>]' has different size
c:/dev/_tools/mingw-new/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: c:\dev\_tools\wxWidgets-2.9.1\lib\gcc_lib/libwxmsw29ud.a(monolib_mdi.o): warning: duplicate section `.rdata$_ZTV20wxMDIParentFrameBase[vtable for wxMDIParentFrameBase]' has different size
c:/dev/_tools/mingw-new/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: c:\dev\_tools\wxWidgets-2.9.1\lib\gcc_lib/libwxmsw29ud.a(monolib_mdi.o): warning: duplicate section `.rdata$_ZTV21wxMDIClientWindowBase[vtable for wxMDIClientWindowBase]' has different size
c:/dev/_tools/mingw-new/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: c:\dev\_tools\wxWidgets-2.9.1\lib\gcc_lib/libwxmsw29ud.a(monolib_mdi.o): warning: duplicate section `.rdata$_ZTS20wxEventFunctorMethodI14wxEventTypeTagI14wxCommandEventE12wxEvtHandler7wxEventS3_E[typeinfo name for wxEventFunctorMethod<wxEventTypeTag<wxCommandEvent>, wxEvtHandler, wxEvent, wxEvtHandler>]' has different size
c:/dev/_tools/mingw-new/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: c:\dev\_tools\wxWidgets-2.9.1\lib\gcc_lib/libwxmsw29ud.a(monolib_mdi.o): warning: duplicate section `.rdata$_ZTSN9wxPrivate11HandlerImplI12wxEvtHandler7wxEventLb1EEE[typeinfo name for wxPrivate::HandlerImpl<wxEvtHandler, wxEvent, true>]' has different size
...
Anyone has idea what could have gone wrong?