Hi,
I'm installing OpenSSL 0.9.4 on Solaris 7 x86, but it doesn't compile...
The reason appears to be that I'm using gcc with Solaris'
developer-environment (not binutils).
First, Solaris' "as" won't accept the bswapl mnemonic, taken to be the
default on this platform when configured with
./config --prefix=/usr/local/pkg/openssl-0.9.4 no-idea -fPIC
Ok, I check whatever files I can find, and discover the 386 option to
config:
./config --prefix=/usr/local/pkg/openssl-0.9.4 386 no-idea -fPIC
Yay, opensslconf.h now #defines I386_ONLY, and this macro only appears
to affect the bswapl stuff, so no big deal.
(But why bswapl and not just bswap, which Solaris' as supports?)
But:
make[2]: Entering directory `/users/src/apache/openssl-0.9.4/crypto/sha'
[...]
(cd asm; /usr/local/bin/perl sha1-586.pl cpp 386 >sx86unix.cpp)
gcc -E -DSOL asm/sx86unix.cpp | sed 's/^#.*//' > asm/sx86-sol.s
as -o asm/sx86-sol.o asm/sx86-sol.s
Assembler: sha1-586.s
aline 79 : syntax error
[...bunch of lines using "xchg %al, %ah" snipped...]
So Solaris' as likes none of these ways to do byteswaps...
Installing binutils is not an option, so how do I get further?
--
Lars Balker Rasmussen, Software Engineer, Mjolner Informatics ApS
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]