I was able to get the Configure script to work with my cross-compiler as follows:
./Configure linux-ppc:$(CROSS_BIN)/$(CROSS_COMPILE)gcc no-krb5 zlib-dynamic shared threads However, no shared libraries are produced by the resulting makefile. It looks like the $shared_target variable never gets defined if you specify your own compiler. Does anyone have any ideas how to get around this? ----- Original Message Follows ----- From: "Dallas Clement" <[EMAIL PROTECTED]> To: openssl-users@openssl.org Subject: Trouble cross-compiling for linux-ppc Date: Mon, 09 Jun 2008 21:11:46 -0500 > Hi All, > > I'm having a bit of a problem getting the openssl-0.9.8h > Configure script to use my cross-compiler. These are the > arguments I'm giving Configure: > > /Configure no-krb5 zlib-dynamic shared threads linux-ppc > > I can see from examining the Configure script that the > compiler is defined as "gcc" in the configuration table > corresponding to the "linux-ppc" target. This is what it > looks like: > > "linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3 > -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK > DES_RISC1 > DES_UNROLL::linux_ppc32.o::::::::::dlfcn:linux-shared:-fPI > C::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)" , > > I would like to somehow get the Configure script to use > $(CROSS_BIN)/$(CROSS_COMPILE)gcc instead of just "gcc". > > Anybody know how to do this without having to modify the > Configure script? I'd like to ideally expand the source > tarball, run Configure and make. > > Thanks, > Dallas > > __________________________________________________________ > ____________ OpenSSL Project > http://www.openssl.org User Support Mailing List > openssl-users@openssl.org Automated List > Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]