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

[Bug target/16109] error: architecture mismatch on "fzero".


------- Additional Comments From jakub at gcc dot gnu dot org  2004-07-08 18:27 -------
If the compiler is configured with --with-cpu=v7, then it defaults to -m32.
#define OPTION_DEFAULT_SPECS \
  {"cpu", "%{!m64:%{!mcpu=*:-mcpu=%(VALUE)}}" }, \
...
means that -mcpu=v7 will be passed if no -mcpu is given AND -m64 is not present
on the command line.  If -m64 is present and -mcpu is not given, CC1_SPEC
will add -mcpu=ultrasparc.
Similarly for a compiler defaulting to -m64.
BTW, the compiler is misconfigured, it ought to use --libdir /usr/lib on sparc64,
not /usr/lib64.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16109


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