Re: Compile apache 2.4 on solaris 10 sparc with 64 bit openssl issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i will post back - i may have a working configuration.

On Fri, Apr 3, 2015 at 12:14 PM, Andy Wang <awang@xxxxxxx> wrote:
On 04/03/2015 12:09 PM, Andy Wang wrote:

The trick is to use Configure directly.

This is what I do for sparc:
OPENSSL_TARGET=solaris64-sparcv9-gcc
OPENSSL_CONFIG="./Configure $OPENSSL_TARGET --prefix=$OPENSSL_ROOT
threads shared"

I also set
CC="gcc -static-libgcc"
CFLAGS="-m64"

But I can't remember if those were necessary for openssl or for one of
the other dependencies.



"solaris64-sparcv9-gcc","gcc:-m64 -mcpu=ultrasparc -O3 -Wall -DB_ENDIAN::-D_REEN
TRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR
 DES_RISC1 DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:solaris-shared:-fPIC:-m64 -sha
red:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/64",

okay CFLAGS="-m64" isn't necessary for openssl.
-static-libgcc was to avoid needing to have libgcc_s.so available at runtime.

Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
KRegards || Jatinder Singh

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux