On Sun, Oct 29, 2000 at 12:41:20PM -0600, Albert Chin-A-Young wrote:
> The following patch adds support for shared libraries on IRIX.
And it also changes "true64-unix" to "tru64-unix".
> -- snip snip
> --- Configure.orig Sat Oct 28 10:20:51 2000
> +++ Configure Sun Oct 29 12:35:17 2000
> @@ -177,17 +177,17 @@
>
> #### IRIX 5.x configs
> # -mips2 flag is added by ./config when appropriate.
> -"irix-gcc","gcc:-O3 -DTERMIOS -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX
>RC4_CHAR RC4_CHUNK DES_UNROLL DES_RISC2 DES_PTR BF_PTR:::",
> -"irix-cc", "cc:-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN::(unknown)::BN_LLONG
>RC4_CHAR RC4_CHUNK DES_PTR DES_RISC2 DES_UNROLL BF_PTR:::",
> +"irix-gcc","gcc:-O3 -DTERMIOS -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX
>RC4_CHAR RC4_CHUNK DES_UNROLL DES_RISC2 DES_PTR
>BF_PTR::::::::::dlfcn:irix-shared::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
> +"irix-cc", "cc:-O2 -use_readonly_const -DTERMIOS -DB_ENDIAN::(unknown)::BN_LLONG
>RC4_CHAR RC4_CHUNK DES_PTR DES_RISC2 DES_UNROLL
>BF_PTR::::::::::dlfcn:irix-shared::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
> #### IRIX 6.x configs
> # Only N32 and N64 ABIs are supported. If you need O32 ABI build, invoke
> # './Configure irix-[g]cc' manually.
> # -mips4 flag is added by ./config when appropriate.
> -"irix-mips3-gcc","gcc:-mabi=n32 -mmips-as -O3 -DTERMIOS -DB_ENDIAN
>-DBN_DIV3W::-D_SGI_MP_SOURCE::MD2_CHAR RC4_INDEX RC4_CHAR RC4_CHUNK_LL DES_UNROLL
>DES_RISC2 DES_PTR BF_PTR SIXTY_FOUR_BIT:asm/mips3.o::",
> -"irix-mips3-cc", "cc:-n32 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN
>-DBN_DIV3W::-D_SGI_MP_SOURCE::DES_PTR RC4_CHAR RC4_CHUNK_LL DES_RISC2 DES_UNROLL
>BF_PTR SIXTY_FOUR_BIT:asm/mips3.o::",
> +"irix-mips3-gcc","gcc:-mabi=n32 -mmips-as -O3 -DTERMIOS -DB_ENDIAN
>-DBN_DIV3W::-D_SGI_MP_SOURCE::MD2_CHAR RC4_INDEX RC4_CHAR RC4_CHUNK_LL DES_UNROLL
>DES_RISC2 DES_PTR BF_PTR
>SIXTY_FOUR_BIT:asm/mips3.o:::::::::dlfcn:irix-shared::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
> +"irix-mips3-cc", "cc:-n32 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN
>-DBN_DIV3W::-D_SGI_MP_SOURCE::DES_PTR RC4_CHAR RC4_CHUNK_LL DES_RISC2 DES_UNROLL
>BF_PTR
>SIXTY_FOUR_BIT:asm/mips3.o:::::::::dlfcn:irix-shared::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
> # N64 ABI builds.
> -"irix64-mips4-gcc","gcc:-mabi=64 -mips4 -mmips-as -O3 -DTERMIOS -DB_ENDIAN
>-DBN_DIV3W::-D_SGI_MP_SOURCE::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL
>SIXTY_FOUR_BIT_LONG:asm/mips3.o::",
> -"irix64-mips4-cc", "cc:-64 -mips4 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN
>-DBN_DIV3W::-D_SGI_MP_SOURCE::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL
>SIXTY_FOUR_BIT_LONG:asm/mips3.o::",
> +"irix64-mips4-gcc","gcc:-mabi=64 -mips4 -mmips-as -O3 -DTERMIOS -DB_ENDIAN
>-DBN_DIV3W::-D_SGI_MP_SOURCE::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL
>SIXTY_FOUR_BIT_LONG:asm/mips3.o:::::::::dlfcn:irix-shared::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
> +"irix64-mips4-cc", "cc:-64 -mips4 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN
>-DBN_DIV3W::-D_SGI_MP_SOURCE::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL
>SIXTY_FOUR_BIT_LONG:asm/mips3.o:::::::::dlfcn:irix-shared::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>
> #### Unified HP-UX ANSI C configs.
> # Special notes:
> @@ -267,9 +267,9 @@
> # Dec Alpha, OSF/1 - the alpha164-cc is the flags for a 21164A with
> # the new compiler
> # For gcc, the following gave a %50 speedup on a 164 over the 'DES_INT' version
> -"alpha-gcc","gcc:-O3::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_UNROLL
>DES_RISC1:asm/alpha.o:::::::::dlfcn:true64-shared::.so",
> -"alpha-cc", "cc:-std1 -tune host -O4
>-readonly_strings::(unknown)::SIXTY_FOUR_BIT_LONG
>RC4_CHUNK:asm/alpha.o:::::::::dlfcn:true64-shared::.so",
> -"alpha164-cc", "cc:-std1 -tune host -fast
>-readonly_strings::(unknown)::SIXTY_FOUR_BIT_LONG
>RC4_CHUNK:asm/alpha.o:::::::::dlfcn:true64-shared::.so",
> +"alpha-gcc","gcc:-O3::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_UNROLL
>DES_RISC1:asm/alpha.o:::::::::dlfcn:tru64-shared::.so",
> +"alpha-cc", "cc:-std1 -tune host -O4
>-readonly_strings::(unknown)::SIXTY_FOUR_BIT_LONG
>RC4_CHUNK:asm/alpha.o:::::::::dlfcn:tru64-shared::.so",
> +"alpha164-cc", "cc:-std1 -tune host -fast
>-readonly_strings::(unknown)::SIXTY_FOUR_BIT_LONG
>RC4_CHUNK:asm/alpha.o:::::::::dlfcn:tru64-shared::.so",
> "FreeBSD-alpha","gcc:-DTERMIOS -O
>-fomit-frame-pointer::(unknown)::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR
>DES_RISC2::::::::::dlfcn:bsd-gcc-shared:-fPIC:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>
> #### Alpha Linux with GNU C and Compaq C setups
> --- Makefile.org.orig Sat Oct 28 10:19:31 2000
> +++ Makefile.org Sun Oct 29 12:35:32 2000
> @@ -261,11 +261,20 @@
> done
>
> # This assumes that GNU utilities are *not* used
> -do_true64-shared:
> +do_tru64-shared:
> libs='${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
> ( set -x; ${CC} -shared -no_archive -o lib$$i.so \
> -set_version "${SHLIB_VERSION_HISTORY}${SHLIB_VERSION_NUMBER}" \
> -all lib$$i.a -none $$libs ${EX_LIBS} -lc ) || exit 1; \
> + libs="$$libs -L. -l$$i"; \
> + done
> +
> +# This assumes that GNU utilities are *not* used
> +do_irix-shared:
> + libs='${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
> + ( set -x; ${CC} -shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
> + -Wl,-soname,lib$$i.so.${SHLIB_MAJOR} \
> + -all lib$$i.a $$libs ${EX_LIBS} -lc) || exit 1; \
> libs="$$libs -L. -l$$i"; \
> done
>
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> Development Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
--
albert chin ([EMAIL PROTECTED])
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]