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_file="${tm_file} i386/avxmath.h" ;; sse) tm_file="${tm_file} i386/ssemath.h" ;; *) echo "Invalid --with-fpmath=$with_fpmath" 1>&2 exit 1 Only allows for avx or sse and any other option should result in the default case leading to a failure. On 12 January 2014 15:50, H.J. Lu <hjl.to...@gmail.com> wrote: > On Sun, Jan 12, 2014 at 7:42 AM, Denis K <deniskravt...@gmail.com> 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 >> --enable-languages=all >> --enable-libgomp >> --enable-lto >> --enable-threads=posix >> --enable-tls >> --with-gmp=/tmp/gcc >> --with-mpfr=/tmp/gcc >> --with-mpc=/tmp/gcc >> --with-libelf=/tmp/gcc >> --with-fpmath=sse >> > > Please remove " --with-fpmath=sse". > > > -- > H.J.