Re: solaris-x86-cc or solaris-x86-gcc via MACHINE and SYSTEM exports

2014-07-12 Thread Jeffrey Walton
On Wed, Jul 9, 2014 at 3:55 PM, Jeffrey Walton noloa...@gmail.com wrote: 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

Re: solaris-x86-cc or solaris-x86-gcc via MACHINE and SYSTEM exports

2014-07-11 Thread Tom Francis
You should be setting the KERNEL_BITS environment variable. That works for several platforms, including Solaris x86 (although others default to 32, and you need to set it to 64 to get a 64-bit build). As an alternative, (if you’re not building the FIPS module) if you know which build

RE: solaris-x86-cc or solaris-x86-gcc via MACHINE and SYSTEM exports

2014-07-11 Thread Michael Wojcik
For what it's worth: We just customized Configure to add our own targets, matching the ones we use for generating our own Makefiles, to incorporate the OpenSSL build into our product build processes. When we upgraded from 0.9.8* to 1.0.1*, we had to reconstruct and update the Configure changes,

RE: solaris-x86-cc or solaris-x86-gcc via MACHINE and SYSTEM exports

2014-07-09 Thread Henry Unger
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: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Jeffrey Walton Sent: Wednesday, July 09, 2014