This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 4.x and support of x87 FPU in libstdc++
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Denis K <deniskravtsov at gmail dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Sat, 11 Jan 2014 18:57:54 -0800
- Subject: Re: gcc 4.x and support of x87 FPU in libstdc++
- Authentication-results: sourceware.org; auth=none
- References: <CAOCMtD4s-3fkTpEht8Qaxex_1ZsJNRWY=5pcJDfOHS+wbrFrJQ at mail dot gmail dot com>
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.