Changing default -march flag
Michael Gerdts
gerdts@cae.wisc.edu
Mon Apr 3 08:49:00 GMT 2000
When I built gcc 2.95.2, I used the flag --with-cpu=ultrasparc. I have run
across optimization bugs that do not appear with the -msupersparc option.
(A bug report has been sent to gcc-bugs.) To work around this bug I would
like to change the default architecture from ultrasparc to supersparc.
I suspect that I can change the default build architecture by editing
$prefix/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs. Are there any hints
as to what I should change? I would prefer not to have to wait for a
complete build to take place.
Attached is my specs file.
TIA,
Mike
--
Mike Gerdts
UNIX Systems Administrator
Computer-Aided Engineering Center
University of Wisconsin - Madison
More information about the Gcc-help
mailing list