Re: [Mingw-w64-public] build wxwidgets 2.9.4 with mingw64(rubenvb) return error
this is just described as not working and confirmed by me to be nonfunctional. Ruben, Sorry, I haven't read all requirements of zhangxinghai. Previously, I compiled wxWidgets library with MSYS for 32-64 bit machines on 32 bit OS. But, Previously I haven't got any linker error at cmd.exe as I remember. My build command was plain: $mingw32-make -f makefile.gcc BUILD=release SHARED=0 UNICODE=1 Regards -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] build wxwidgets 2.9.4 with mingw64(rubenvb) return error
Hello, Previously, I worked on wxWidgets. It is better to use special makefiles for wxWidgets instead of commandline g++ which exists in build directory. Please return back if your problem wasn't solved. Regards -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] build wxwidgets 2.9.4 with mingw64(rubenvb) return error
Hello, Sorry for late reply, Please look previous mail. Regards -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] build wxwidgets 2.9.4 with mingw64(rubenvb) return error
Hi I download i686-w64-mingw32-gcc-4.8.0-win32_rubenvb.7z from http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-release/,unpack it to a directory. I also download wxwidgets2.9.4 from https://sourceforge.net/projects/wxwindows/files/2.9.4/wxWidgets-2.9.4.7z,unpack it to a directory My OS:Microsoft Windows XP Professional (32-bit) version 5.01.2600 Service Pack 3 I cd the wx\build\msw directory and invoke command mingw32-make -f makefile.gcc -j4 LDFLAGS=-Wl,--gc-sections,--strip-all BUILD=release SHARED=1 MONOLITHIC=0 UNICODE=1 CXXFLAGS=-m32 -pipe -fno-keep-inline-dllexport -Os -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-attributes -DNDEBUG USE_EXCEPTION=0 USE_RTTI=0 11.txt 22.txt The command returns error when it comes to g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw294u_core_gcc_custom.dll I check the 2.txt and find it returns error as following gcc_mswudll\coredll_textentry.o:textentry.cpp:(.text$_ZN20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_EclEP12wxEvtHandlerR7wxEvent[__ZN20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_EclEP12wxEvtHandlerR7wxEvent]+0xfe1dc0318d74f364): Cannot get section contents - auto-import exception gcc_mswudll\coredll_textentry.o:textentry.cpp:(.text$_ZN11wxTextEntry23DoAutoCompleteFileNamesEi+0x3cbfb505472509dc): Cannot get section contents - auto-import exception d:/mingw32win32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: gcc_mswudll\coredll_textentry.o: bad reloc address 0x2 in section `.text$_ZNK20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_E11GetWxTypeIdEv[__ZNK20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_E11GetWxTypeIdEv]' collect2.exe: error: ld returned 1 exit status mingw32-make: *** [..\..\lib\gcc_dll\wxmsw294u_core_gcc_custom.dll] Error 1 What's wrong Thanks -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] build wxwidgets 2.9.4 with mingw64(rubenvb) return error
2013/5/20 zhangxinghai zxh19750...@163.com: Hi I download i686-w64-mingw32-gcc-4.8.0-win32_rubenvb.7z from http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-release/,unpack it to a directory. I also download wxwidgets2.9.4 from https://sourceforge.net/projects/wxwindows/files/2.9.4/wxWidgets-2.9.4.7z,unpack it to a directory My OS:Microsoft Windows XP Professional (32-bit) version 5.01.2600 Service Pack 3 I cd the wx\build\msw directory and invoke command mingw32-make -f makefile.gcc -j4 LDFLAGS=-Wl,--gc-sections,--strip-all BUILD=release SHARED=1 MONOLITHIC=0 UNICODE=1 CXXFLAGS=-m32 -pipe -fno-keep-inline-dllexport -Os -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-attributes -DNDEBUG USE_EXCEPTION=0 USE_RTTI=0 11.txt 22.txt The command returns error when it comes to g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw294u_core_gcc_custom.dll I check the 2.txt and find it returns error as following gcc_mswudll\coredll_textentry.o:textentry.cpp:(.text$_ZN20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_EclEP12wxEvtHandlerR7wxEvent[__ZN20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_EclEP12wxEvtHandlerR7wxEvent]+0xfe1dc0318d74f364): Cannot get section contents - auto-import exception gcc_mswudll\coredll_textentry.o:textentry.cpp:(.text$_ZN11wxTextEntry23DoAutoCompleteFileNamesEi+0x3cbfb505472509dc): Cannot get section contents - auto-import exception d:/mingw32win32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: gcc_mswudll\coredll_textentry.o: bad reloc address 0x2 in section `.text$_ZNK20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_E11GetWxTypeIdEv[__ZNK20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_E11GetWxTypeIdEv]' collect2.exe: error: ld returned 1 exit status mingw32-make: *** [..\..\lib\gcc_dll\wxmsw294u_core_gcc_custom.dll] Error 1 What's wrong Thanks Hmm, not exactly sure what's going wrong for you here. There might be other people with more insights about building wxWidget. But for sure I can tell, that the following options should not be used with current binutils/gcc for pe-coff. -ffunction-sections -fdata-sections These options have no meaning due binutils doesn't support this for pe-coff targets. -fvisibility=hidden -fvisibility-inlines-hidden These options are making no sense for all pe-coff targets as they don't support the concept of visibility. You should avoid its use here. Cheers, Kai -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public