This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/55925] Unrecognized command line option '-mfxsr' when building x86_64-w64-mingw32 native compiler


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55925

--- Comment #4 from lailavrazda1979 at gmail dot com 2013-01-14 21:26:36 UTC ---
I tried building several compilers (4.7.2), none of which understand the
'-mfxsr' option. One was configured with:

../gcc-4.7.2/configure --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=x86_64-w64-mingw32 --prefix=$CROSS_DIR
--libexecdir=$CROSS_DIR/lib --enable-clocale=gnu --enable-__cxa_atexit
--enable-languages=c,c++ --enable-targets=all --enable-cloog-backend=ppl
--disable-shared --disable-nls --disable-werror --with-host-libstdcxx="-lstdc++
-lsupc++" --with-local-prefix=$CROSS_DIR --with-sysroot=$CROSS_DIR
--with-ppl=$CROSS_DIR --with-cloog=$CROSS_DIR
make all-gcc && make install-gcc

After that, I build the mingw-w64 library, went back to my GCC build dir, and
did:
make && make install


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]