On 8/21/2012 18:01, niXman wrote: > 2012/8/21 JonY: >> BTW, leaving --enable-sjlj-exceptions or --disable-sjlj-exceptions >> should leave you sjlj EH build for win32 target, I'm not getting those >> errors you described. >> > > Prompt to me please, with what arguments you run configure? > > > gcc-trunk/configure --prefix=/opt/mingw64_64_48 --with-sysroot=/opt/mingw64_64_48 --with-build-sysroot=/opt/mingw64_64_48 --enable-multilib --enable-targets=all --disable-win32-registry --enable-languages=c,ada,c++,fortran,objc,obj-c++ --enable-fully-dynamic-string --enable-libgomp --enable-version-specific-runtime-libs --with-dwarf2 --enable-decimal-float=bid --enable-lto --enable-graphite --enable-long-long --enable-c99 --enable-wchar_t --with-gnu-ld --with-gnu-as --with-arch=corei7-avx --with-tune=corei7-avx --with-gmp=/opt/support --with-mpfr=/opt/support --with-isl=/opt/support --with-cloog=/opt/support --with-mpc=/opt/support --enable-version-specific-runtime-libs --enable-cloog-backend=isl --enable-checking=no --build=i686-pc-cygwin --host=i686-pc-cygwin --target=x86_64-w64-mingw32 -C No errors in the win32 part, it uses SJLJ as usual. So omit the x86_64-w64-mingw32 parts for their equivalent and disable multilib if you want to use a simple win32 only target GCC. The only hack I needed is to use a linker script to fix up some static support libs.
Attachment:
signature.asc
Description: OpenPGP digital signature