To build a 32-bit OpenSSL library on 32-bit or 64-bit Solaris 10 using gcc, we do:
export MACHINE=x86 export CC='gcc -m32' Henry -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jeffrey Walton Sent: Wednesday, July 09, 2014 12:55 PM To: OpenSSL Users List Subject: solaris-x86-cc or solaris-x86-gcc via MACHINE and SYSTEM exports I'm having trouble setting up solaris-x86-cc and solaris-x86-gcc via MACHINE and SYSTEM. How exactly does one force the use of x86 when compiling for Solaris when Configure/config is mis-identifying the system (the mis-identification is x86_64). (And to complicate matters, I don't have access to the machine at the moment. This is testing on a different machine). Thanks in advance. ***** Here's the `uname` that's causing the problems: SunOS hostname 5.10 Generic_147441-01 i86pc i386 i86pc ***** When I try: export MACHINE="solaris" export RELAEASE="10" export SYSTEM="i686" export BUILD="Solaris; Solaris 10; i686" I get: ./config Operating system: solaris-whatever-i686 This system (i686) is not supported. See file INSTALL for details. ***** When I try: export MACHINE="i686" export RELAEASE="10" export SYSTEM="solaris" export BUILD="Solaris; Solaris 10; i686" I get: $ ./config Operating system: i686-whatever-solaris Configuring for solaris Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] ... pick os/compiler from: ... ***** I've also tried the x86 and i386 variants. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
