[Zlib-devel] Solaris Neglected? Fix for v8 + pentium

William A. Rowe, Jr. wrowe at rowe-clan.net
Sun Feb 26 19:54:26 EST 2006


It seems the only 'solaris' that ./configure can grok is sparc, with
an optimization ov v7 (ancient, archaic).  It seems long about time
to optimized for v8 on sparc, and perform pentium optimization on x86.

Note I tripped over this because without the patch, shared compilation
fails entirelyon x86, due to the flag -xcg89 (sparcv8) optimization flag
which emits the (expected) warning that it's not supported under x86 cc.

The second half of this patch led me to the first, and seems appropriate
to offer up and have committed.  The patch emits the appropriate message
text once we fail to compile for shared library builds (when requested)
with the appropriate warning/error messages from the compiler.  I hope
this would lead a few developers to report back here, with their fixed
flags to allow successful shared library builds.

Bill






-------------- next part --------------
A non-text attachment was scrubbed...
Name: zlib123-solaris.patch
Type: text/x-patch
Size: 1247 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20060226/7756450f/attachment.bin>


More information about the Zlib-devel mailing list