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



--- Comment #5 from Uros Bizjak <ubizjak at gmail dot com> 2013-01-14 21:53:16 
UTC ---

(In reply to comment #4)

> I tried building several compilers (4.7.2), none of which understand the

> '-mfxsr' option. One was configured with:



True. -mfxsr option was added to 4.8.0.



After that, I build the mingw-w64 library, went back to my GCC build dir, and

did:

make && make install



This command should first build a 4.8.0 crosscompiler, and then compile the

library with the newly built compiler. The command should look like:



/home/uros/gcc-build/./gcc/xgcc -B/home/uros/gcc-build/./gcc/

-B/usr/local/x86_64-unknown-linux-gnu/bin/

-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem

/usr/local/x86_64-unknown-linux-gnu/include -isystem

/usr/local/x86_64-unknown-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC 

 -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes

-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic

-mlong-double-80 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fpic

-mlong-double-80 -I. -I. -I../.././gcc -I../../../gcc-svn/trunk/libgcc

-I../../../gcc-svn/trunk/libgcc/. -I../../../gcc-svn/trunk/libgcc/../gcc

-I../../../gcc-svn/trunk/libgcc/../include

-I../../../gcc-svn/trunk/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT

-DHAVE_CC_TLS  -DUSE_TLS -o crtfastmath.o -MT crtfastmath.o -MD -MP -MF

crtfastmath.dep -mfxsr -msse -c

../../../gcc-svn/trunk/libgcc/config/i386/crtfastmath.c



As you can see, using -mfxsr does not fail here.

Reply via email to