Hi,

I just (successfully) installed and tested OpenSSL on a sparc running
ultrapenguin. However, my first attempt failed miserably as the config
script gets it wrong:

bash-2.02$ ./config -t
Operating system: sparc64-whatever-linux2
Configuring for linux-elf
/usr/bin/perl ./Configure linux-elf

It wasn't difficult to guess what the Makefile should look like and
after that everything worked as expected. I compiled without any
assembler and with compiler options:
        
 -DTHREADS -D_REENTRANT -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -mv8 -Wall

For fun, I hacked the config files from the 0.9.3a distribution. You
might like to include these patches (or an improved version!) for
anyone else who needs them.

Best wishes,

Ray.
-- 
Ray Miller <[EMAIL PROTECTED]>
Oxford University Computing Services

--------------------------------------------------
--- config.ORIG Fri Jun  4 17:08:57 1999
+++ config      Fri Jun  4 17:10:46 1999
@@ -304,6 +304,7 @@
 case "$GUESSOS" in
   alpha-*-linux2) OUT="alpha-gcc" ;;
   ppc-*-linux2) OUT="linux-ppc" ;;
+  sparc64-*-linux2) OUT="linux-sparc64-$CC" ;;
   mips-*-linux?) OUT="linux-mips" ;;
   *-*-linux2) OUT="linux-elf" ;;
   *-*-linux1) OUT="linux-aout" ;;
--------------------------------------------------
--- Configure.ORIG      Fri Jun  4 17:09:09 1999
+++ Configure           Fri Jun  4 17:39:18 1999
@@ -164,6 +164,9 @@
 ##"alpha164-cc", "cc:-tune host -fast 
-readonly_strings:(unknown)::SIXTY_FOUR_BIT_LONG:asm/alpha.o::",
 ##"OpenBSD-alpha","gcc:-DTERMIOS -O3 
-fomit-frame-pointer:(unknown):SIXTY_FOUR_BIT_LONG DES_INT DES_PTR 
DES_RISC2:asm/alpha.o::",
 
+# sparc linux
+"linux-sparc64-gcc","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -mv8 
+-Wall:-D_REENTRANT:::::",
+
 # The intel boxes :-), It would be worth seeing if bsdi-gcc can use the
 # bn86-elf.o file file since it is hand tweaked assembler.
 "linux-elf",   "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 
-Wall:-D_REENTRANT::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
--------------------------------------------------
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to