John Martin wrote:
> Here's the command line for building the 32 bit malloc.c:
>
> /ws/onnv-tools/SUNWspro/SS11/bin/cc -O -K pic -xspace -Xa -xildoff
> -errtags=yes
> -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT
> -erroff=E_STATEMENT_NOT_REACHED -xc99=%all -W0,-xglobalstatic -v
> -g -xc99=%all -W0,-noglobal -xdebugformat=stabs -xinline= -g -xc99=%all
> -W0,-noglobal -xdebugformat=stabs -D_REENTRANT -Di386 -I../i386/inc
^^^^^
> I don't see it using "-xregs=no%appl" any more.
Because you're building on i386. The ON Makefiles, like X, only pass
-xregs=no%appl on SPARC. ON's usr/src/Makefile.master says:
sparc_XREGSFLAG = -xregs=no%appl
sparcv9_XREGSFLAG = -xregs=no%appl
i386_XREGSFLAG =
amd64_XREGSFLAG =
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering