http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49861
Summary: Cross compile for mingw32, All executable file can not
start up, lead crash!
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 24839
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24839
crash executable file
I am testing GCC 4.4.6 and 4.5.3, both them works well for mingw32 if use cross
build.
But when use 4.6.0 or 4.6.1, will lead start up crash.
My configure:
../../src/gcc-$sver/configure \
--prefix=/usr \
--build=i686-linux-gnu \
--host=i686-linux-gnu \
--target=$host \
--enable-languages=c \
--enable-threads \
--disable-shared \
--disable-lto \
--disable-plugin \
--disable-libssp \
--disable-libgomp \
--disable-nls \
--disable-sjlj-exceptions \
--with-dwarf2 \
--with-pkgversion='qp-MinGW32' \
--with-bugurl=http://qp-gcc.googlecode.com
code:
int main()
{
return 0;
}