User Tools

Site Tools


talk:ccmingw-en

Notes on cross compile 64 bit binaries

Unknown Host

Ubuntu 12.10 64bit

./configure --prefix=/usr/x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-msw --enable-unicode --enable-mslu --disable-shared --enable-graphics_ctx

wxWidgets 2.8.12

wx 2.8.12 compiles with errors:

./src/msw/thread.cpp:1165:28: error: cast from ‘wxThread::ExitCode {aka void*}’ to ‘unsigned int’ loses precision [-fpermissive]

wxWidgets 2.9.4

Dependencies

/usr/lib/gcc/x86_64-w64-mingw32/4.6/

  • libgcc_s_sjlj-1.dll
  • libstdc++-6.dll


Static runtime libs

Link flag:

  • -static-libgcc → ToDo: Test.
talk/ccmingw-en.txt · Last modified: 2018/11/12 08:56 (external edit)