This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Always defined __SEH__ when build from trunk
My configure line is:
$ /temp/mingw-sources/gcc-trunk/gcc/configure
--cache-file=./config.cache
--prefix=/temp/x32-trunk-snapshot-posix-sjlj-rev1/prefix
--with-sysroot=/temp/x32-trunk-snapshot-posix-sjlj-rev1/prefix
--enable-shared --enable-static --enable-targets=all --enable-multilib
--enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp
--enable-lto --enable-graphite --enable-cloog-backend=isl
--enable-checking=release --enable-fully-dynamic-string
--enable-version-specific-runtime-libs --enable-sjlj-exceptions
--disable-ppl-version-check --disable-cloog-version-check
--disable-libstdcxx-pch --disable-libstdcxx-debug --disable-bootstrap
--disable-rpath --disable-win32-registry --disable-nls
--disable-werror --disable-symvers --with-gnu-as --with-gnu-ld
--with-tune=generic --with-host-libstdcxx=-static -lstdc++
--with-libiconv --with-gmp=/temp/mingw-prereq/i686-w64-mingw32-static
--with-mpfr=/temp/mingw-prereq/i686-w64-mingw32-static
--with-mpc=/temp/mingw-prereq/i686-w64-mingw32-static
--with-ppl=/temp/mingw-prereq/i686-w64-mingw32-static
--with-cloog=/temp/mingw-prereq/i686-w64-mingw32-static
--with-pkgversion=Built by MinGW-builds project
--with-bugurl=http://sourceforge.net/projects/mingwbuilds/
--enable-languages=c,c++,fortran,lto --program-transform-name=s,y,y,
--disable-option-checking --build=i686-w64-mingw32
--host=i686-w64-mingw32 --target=i686-w64-mingw32
--srcdir=../../../../mingw-sources/gcc-trunk/gcc
If you need I can send you full logs
2012/11/22 Kai Tietz <ktietz70@googlemail.com>:
> Hi,
>
> the cause for this is that SEH exceptions are only present for x64
> 64-bit target. There is no such support for 32-bit (mainly caused by
> patent issues). Therefore if you want to build multilib for mingw,
> then please switch back to SjLj-exception mechanism.
>
> Regards,
> Kai