This is the mail archive of the gcc@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]

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


On Sat, Jan 11, 2014 at 6:54 PM, Denis K <deniskravtsov@gmail.com> 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} 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
>
> Basically, I started this whole thing because I need to supply a
> statically linked executable for an old target platform (in fact, it's
> an old Celeron but without any SSE2 instructions that are apparently
> used by libstdc++ by DEFAULT). The executable crashes at the first

How did you configure GCC?


-- 
H.J.


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