I would guess anything within the last few years.


Lets take a system:

$ uname -a
Linux me.foobar.com 2.6.18 #1 SMP Sun Sep 24 21:09:55 BST 2006 x86_64 x86_64 x86_64 GNU/Linux

$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)




And run:

$ tar -zxvf /tmp/openssl-0.9.8b.tar.gz
$ ./config
$ make
$ make test
$ echo $?
0
$


I have a native 64bit linux build:

$ ar xv libcrypto.a cryptlib.o
x - cryptlib.o
$ file cryptlib.o
cryptlib.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped
$ ldd ./apps/openssl
       libdl.so.2 => /lib64/libdl.so.2 (0x0000003ec9e00000)
       libc.so.6 => /lib64/libc.so.6 (0x0000003ec9900000)
       /lib64/ld-linux-x86-64.so.2 (0x0000003ec9500000)




Maybe you can be more specific about your building problems, which distribution, which gcc, etc...

Darryl



Agarwal, Saumya wrote:
Thanks for the replies. Let me clarify my question.

I get the following error when building OpenSSL 0.9.7c on 64-bit Redhat
Linux -
cryptlib.c:1: error: CPU you selected does not support x86-64
instruction set
make[3]: *** [cryptlib.o] Error 1

Do we build OpenSSL libraries on 64-bit Linux ? If yes, could you let me
know the version of OpenSSL that can be built on 64-bit Linux ?
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to