It depends what distro. you build on. SLES-8, which is what we did the
original work on on has 64 bit gcc set up as a cross-compiler.
Newer distro's (SLES-9/RHAS3.0) -m64 works.
-m64 is more correct, but may not work for everyone either.
I have no particular reason to prefer one over the other, we have a set of
patches we have to apply to the OpenSSL sources before we can build anyway
since most of our Linux targets are built with x86 hosted cross-compilers.
Peter
Peter Waltenberg
Architect
IBM Crypto for C Team
IBM/Tivoli Gold Coast Office
Phone: +61-7-55524016
Andy Polyakov
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
.se> cc:
Sent by: Subject: Re: Repost. Assembler
Optimizations for PPC hardware.
owner-openssl-dev@
openssl.org
28/04/2004 12:59
AM
Please respond to
openssl-dev
> The second file is a patch which should apply to OpenSSL 0.9.7d and also
> contains the changes to Configure and the crypto/bn Makefile needed to
use
> the bn-ppc.pl file.
>
> (See attached file: ibm.patch)
Configure patch reads:
"linux-ppc64", "gcc:-b powerpc64-linux ..."
Is it an "official" way to make gcc generate ppc64 objects? "Official"
means "as appears in most PPC64 Linux distributions." My concern is that
-b is not documented option (it's used during bootstrapping the
compiler), while there seem to be documented options, -m64 or
-mpowerpc64 to be specific, which might be more appropriate to use. At
least Linux kernel seem to be compiled with -m64... I also wonder what
kind of object file is generated by default if gcc is invoked without
-m64 or -m32... A.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
- Re: Repost. Assembler Optimizations for PPC hardware. Peter Waltenberg
- Re: Repost. Assembler Optimizations for PPC hardware... Andy Polyakov
