This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Solaris 8/Intel] Wrong -m<arch> deprecation messages
- To: Rainer Orth <ro at techfak dot uni-bielefeld dot de>
- Subject: Re: [Solaris 8/Intel] Wrong -m<arch> deprecation messages
- From: Andreas Jaeger <aj at suse dot de>
- Date: 27 Apr 2001 08:54:10 +0200
- Cc: gcc-patches at gcc dot gnu dot org
- References: <15080.24993.259941.437282@xayide.TechFak.Uni-Bielefeld.DE>
Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> writes:
> When using gcc 3.0 20010425 on Solaris 8 to build XFree86 4.0.3, I noticed
> the following wrong warning:
>
> > touch test.c
> > ./xgcc -B./ -m486 -c test.c
> `-mpentium' is deprecated. Use `-march' or `-mcpu' instead.
>
> This is clearly wrong. The following patch fixes this, and improves the
> wording of the message since e.g. -m486 needs to become -march=i486. Not
> bootstrapped as an obvious fix.
Jakub was some hours faster than you and committed the same patch
already.
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj