This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/54097] configure: error: GNU Fortran is not working (CPU you selected does not support x86-64 instruction set)
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jul 2012 23:11:53 +0000
- Subject: [Bug libfortran/54097] configure: error: GNU Fortran is not working (CPU you selected does not support x86-64 instruction set)
- Auto-submitted: auto-generated
- References: <bug-54097-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54097
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-25 23:11:53 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > Simple answer don't use "-march=i686" in any of the *C*FLAGS env variables.
>
> Why is that? I thought -march=i686 was supposed to produce i686 compatible code
> (i.e., 32-bit).
Because you have it set for the target libraries too which is incorrect in this
case as you are creating a 64bit target library.