26 March 2013

This is an approved src.alt for 483.xalancbmk in CPU2006 v1.2.

This src.alt fixes the location of the endian.h include file on MacOS X.
In CPU2006 v1.2, the file "ppc/endian.h" was specified.  Starting in
MacOS X 10.7, there is no "ppc" directory; the endian.h file exists only
in the "machine" directory.

To apply the src.alt, unpack the tar file in the top level of the CPU2006
directory.  The following sequence of commands should accomplish this:

$ /bin/sh
$ cd <CPU2006 dir>
$ . ./shrc
$ go top
$ specxz -dc <src.alt tarball> | spectar -xvf -

Please replace the items in angle brackets ( <> ) as appropriate.

To have the src.alt applied during compilation, please add the following
stanza to your config file:

483.xalancbmk:
srcalt=MacOS_X_endian_h

This src.alt changes the preprocessor directive that included "ppc/endian.h"
to "machine/endian.h".  This change is performance-neutral.

Please address any questions about this src.alt to cpu2006support@spec.org.
