I have an error while compiling wxwidget with
Code: Select all
mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 CXXFLAGS=-fno-keep-inline-dllexport
Code: Select all
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe:
gcc_mswudll\monodll_textentry.o: bad reloc address 0x4 in section `.data'
collect2.exe: error: ld returned 1 exit status
makefile.gcc:5086: recipe for target `..\..\lib\gcc_dll\wxmsw294u_gcc_custom.dll' failed
mingw32-make: *** [..\..\lib\gcc_dll\wxmsw294u_gcc_custom.dll] Error 1
I see some people have some problem with wxmsw gcc dll too, like here and here, but doesn't seem to get an answer. the best one is recompile using static, but is there the only way? is that mean I can't use dynamic in the future?
Thanks before