Re: gcc 4.x and support of x87 FPU in libstdc++

2014-01-12 Thread Denis K
Thank you, I think it worked (but I also patched ssemath.h locally, so need to roll back and recompile again to make sure). Though I'm not exactly sure why I didn't get an error from configure. I'm not very familiar with the syntax used but I was thinking that case ${with_fpmath} in avx) tm_

Re: gcc 4.x and support of x87 FPU in libstdc++

2014-01-12 Thread H.J. Lu
On Sun, Jan 12, 2014 at 7:42 AM, Denis K wrote: > My settings were taken from the comment here: > http://stackoverflow.com/questions/9450394/how-to-install-gcc-from-scratch-with-gmp-mpfr-mpc-elf-without-shared-librari > > --disable-shared > --disable-bootstrap > --disable-libstdcxx-pch > --e

Re: gcc 4.x and support of x87 FPU in libstdc++

2014-01-12 Thread Denis K
My settings were taken from the comment here: http://stackoverflow.com/questions/9450394/how-to-install-gcc-from-scratch-with-gmp-mpfr-mpc-elf-without-shared-librari --disable-shared --disable-bootstrap --disable-libstdcxx-pch --enable-languages=all --enable-libgomp --enable-lto --enab

Re: gcc 4.x and support of x87 FPU in libstdc++

2014-01-11 Thread H.J. Lu
On Sat, Jan 11, 2014 at 6:54 PM, Denis K wrote: > Hello, > > I've been trying to compile gcc 4.5.4 from the sources using > --with-fpmath=387 but I'm getting this error: "Invalid > --with-fpmath=387". I looked in the configs and found that it doesn't > support this option: > > case ${with_fpmath}