On Sat, Feb 24, 2007, [EMAIL PROTECTED] wrote:

>         Hi,
> 
> > > "-mcpu" wasn't deprecated on SPARC.  I think it was only deprecated
> > > on i386.
> > >
> >
> > Seems that some platforms support -mcpu and others -march, ugh. I've
> > reverted the sparc changes to the Configure script.
> 
> BTW, you might want to double check (in general), whether you want to use
> -march, -mtune, or -mcpu flags. It's apparently not only platform/version
> specific, which of the three flags are supported, but especially the
> meaning of -mcpu seems to depend on the platform as well. E.g. on
> Intel, -mcpu seems to behave like Sparc's -mtune option (optimize
> e.g. scheduling for that CPU but don't use CPU specific commands) while
> Sparc's -mcpu option behaves like Intel's -march option (do use CPU specific
> commands).
> BTW, at least for gcc-3.3.5, the info file does not state anything about
> -mcpu being deprecated on Intel, on the contrary, -mcpu and -march even
> have different meaning. What is mentioned as deprecated, though, is the
> use of -m386, -mpentium and the like which should be replaced by -mcpu=i386,
> -mcpu=pentium and the like.
> 

On gcc 4.02, i386-redhat-linux using -mcpu gives the warning:

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to