When I looked at the Configure script in the past, the only way I say to get an entry for x86 Linux was to modify the script itself. It does not look at CFLAGS or CSSFLAGS to get the CPU options.
Carter Carter Browne CBCS cbro...@cbcs-usa.com 781-721-2890 Paul Rogers wrote: >> Did you run './config 386'? >> > > OK, so I changed my script to try THAT: > # linux-elf is close, but we need -march=i386 instead of -m486 > #cp Configure{,.backup} && > #sed '/^"linux-elf"/s/486/arch=i386/' Configure.backup > Configure && > #rm -f Configure.backup && > #(Configure 386 linux-elf --prefix=/usr --openssldir=/etc/ssl shared \ > (./config 386 \ > 2>&1 | tee log.conf && exit $PIPESTATUS) && > (make MANDIR=/usr/share/man 2>&1 | tee log.make && exit $PIPESTATUS) && > > And got this again: > making all in crypto... > make[1]: Entering directory `/usr/local/src/openssl-0.9.7g/crypto' > ( echo "#ifndef MK1MF_BUILD"; \ > echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; > \ > echo ' #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN > -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 > -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM"'; \ > echo ' #define PLATFORM "linux-elf"'; \ > echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ > echo '#endif' ) >buildinf.h > make[1]: *** No rule to make target `../include/openssl/bio.h', needed > by `cryptlib.o'. Stop. > make[1]: Leaving directory `/usr/local/src/openssl-0.9.7g/crypto' > make: *** [sub_all] Error 1 > > Still went to linux-elf and had -m486, but it would have been SOMETHING > if this had worked. But this is the error I've been getting > consistently. > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org