This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/55925] Unrecognized command line option '-mfxsr' when building x86_64-w64-mingw32 native compiler
- From: "lailavrazda1979 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Jan 2013 21:26:36 +0000
- Subject: [Bug other/55925] Unrecognized command line option '-mfxsr' when building x86_64-w64-mingw32 native compiler
- Auto-submitted: auto-generated
- References: <bug-55925-4@http.gcc.gnu.org/bugzilla/>
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