OpenSSL -mcpu flag
ttrepl at yahoo.de
Thu Dec 9 10:59:44 PST 2004
Jörg W Mittag wrote:
> Igor Zivkovic wrote:
>> Thomas Trepl wrote:
>>> just for discussion: Since the -mcpu flag of gcc seems to be deprecated,
>>> we might sed the Configure script of OpenSSL to get rid of the "-mcpu is
>>> deprecated..." warnings which come up on every call of gcc.
>>> I have added a
>>> sed -i "s/-mcpu=/-march=/g" ./Configure
>>> just before the
>>> ./config --openssldir=/etc/ssl --prefix=/usr shared
>>> line. It works perfect for me. What do you think?
>> Unnecessary maintenance.
> And wrong, too. -mcpu has been replaced by -mtune, not by -march. -march
> and -mcpu/-mtune have different semantics.
The message gcc show says:
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
So how to interpret this? Doesn't it say that -mtune *or* -march are
alternatives for -mcpu?
Thomas (Moody) Trepl
LFS User #3076
ttrepl at yahoo dot de
More information about the blfs-dev