c^ via RT wrote:
Hi all"./Configure solaris64-sparcv9-cc" builtin provides the CFLAGS -xtarget=ultra -xarch=v9 This is deprecated in Sun Studio12 and warns a lot. Suggest: -xtarget=ultra2 -m64 -xarch=sparc
The -m64 flag doesn't work with Sun Studio 10 compilers, so it will simply break in this case. I came to the same problem and the solution was to patch the Configure and replace those fixed directives with something like \$(CC_ARCH_FLAGS) and then use CC_ARCH_FLAGS="-m64" make ... for SunStudio11+ and CC_ARCH_FLAGS="-xtarget=ultra -xarch=v9" make ... for SunStudio10 The proper solution would be to check the CC version and set those flags accordingly. I somehow doubt this is wise thing to do, cause who knows what SunCC will break in the next release ;) Regards -- ^(TM) ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
