[Zlib-devel] zlib on Solaris 10 x86

Attila Babo attila.babo at gmail.com
Tue Aug 29 17:58:35 EDT 2006


I tried 1.2.3.1 with Sun C 5.8 and it compiles just fine on 64bit or
32 bit mode. There are only three warnings for implicit function
declaration but a -D__XOPEN_OR_POSIX declaration kills them. The main
problem here that configure doesn't recognize the AMD64 platform and
use pentium instead, the compiler flags needs tweaking by hand. The
uname -m result is i86pc, here -xfast -xarch=amd64 compiles 64bit
code, while -xtarget=opteron compiles 32bit code according to Sun
documentation.

Are your changes included in 1.2.3.1?

Attila

On 6/19/06, Austin Ziegler <halostatue at gmail.com> wrote:
> I don't recall if there was anything about the configure results from
> building zlib on Solaris 10 x86 with the new Sun Studio compiler. It's
> all warnings -- it appears to work -- but the configure script seems
> to make the same assumption that my local build scripts did, at least
> with respect to Solaris.
>
> If no one has an extant fix for this, I can work one up later this week.
>
> -austin
> --
> Austin Ziegler * halostatue at gmail.com * http://www.halostatue.ca/
>                * austin at halostatue.ca * http://www.halostatue.ca/feed/
>                * austin at zieglers.ca
>
> _______________________________________________
> Zlib-devel mailing list
> Zlib-devel at zlib.net
> http://madler.net/mailman/listinfo/zlib-devel_madler.net
>




More information about the Zlib-devel mailing list