Martin Bochnig wrote:
>> Shouldn't the Solaris X11 shared libraries be compiled with
>> -xregs=no%appl ?
>
> Aren't they already, at least in terms of Xorg 7.2 ??
>
> --->>
> # grep -n "xregs=no%appl"
> /mnt/6/Xorg720_alanc/X-src-20070227/XW_NV/open-src/common/Makefile.inc__ORIG
>
> 76:DEFAULT_sun4_ARCH_LIB_FLAGS = -xregs=no%appl
> #
Yes, though libX11 is still compiled in the old X11R6 tree, but it similarly
has in the Imake configs (which aren't open, but this bit is clearly not
encumbered):
# ifndef ArchLibraryCCOptions
# if HasSunC && defined(SparcArchitecture) && CCompilerMajorVersion > 3
# define ArchLibraryCCOptions -xregs=no%appl
# else
# define ArchLibraryCCOptions
# endif
# endif /* ArchLibraryCCOptions */
# ifndef LibraryCCOptions
# if DoSharedLib && defined(SharedLibraryCCOptions)
# define LibraryCCOptions SharedLibraryCCOptions ArchLibraryCCOptions
# else
# define LibraryCCOptions DefaultCCOptions ArchLibraryCCOptions
# endif
# endif
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering