5 December 2006 This is an approved src.alt for 400.perlbench in CPU2006 v1.0 and v1.0.1. It will allow compilers that do not define _MSC_VER to get typedefs for POSIX ID types that are not provided by the platform header files. 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 $ . ./shrc $ go top $ specbzip2 -dc | 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: # Get POSIX ID typedefs 400.perlbench: srcalt=need_posix_ids CPORTABILITY=-DSPEC_CPU_NEED_POSIX_IDS Because this src.alt adds a new flag, in order to avoid having "-DSPEC_CPU_NEED_POSIX_IDS" marked as an "unknown" flag, it is necessary to update the flags files in your distribution. You can do this by running $ runspec --newflags For more information on this option, see http://www.spec.org/cpu2006/Docs/runspec.html#newflags Information on setting HTTP proxies is at http://www.spec.org/cpu2006/Docs/runspec.html#http_proxy This src.alt makes one performance neutral portability-related change to 400.perlbench. On Windows, the Microsoft header files do not have definitions for the POSIX identifiers gid_t, uid_t, and mode_t. Because of this, 400.perlbench adds these identifiers only if "_MSC_VER" is defined. This src.alt adds support for other compilers that may also need these identifiers. Please address any questions about this src.alt to cpu2006support@spec.org.