11 August 2015 This is an approved src.alt for 400.perlbench in CPU2006 v1.2. This src.alt allows 400.perlbench to be built on Windows using libraries libraries and header files in which the internals of the FILE struct are hidden, such those that come with Microsoft Visual Studio 2015. 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 $ specxz -dc | spectar -xvf - Please replace the items in angle brackets ( <> ) as appropriate. To use the src.alt, please add the following stanza to your configuration file: 400.perlbench: srcalt=windows_opaque_struct CPORTABILITY = -DSPEC_WINDOWS_OPAQUE_FILE_STRUCT Because this src.alt adds a new flag, in order to avoid having "-DSPEC_WINDOWS_OPAQUE_FILE_STRUCT" 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 changes the 400.perlbench sources to not attempt to read or modify the internal members of the FILE struct. This change is performance-neutral, and correct operation of the benchmark does not depend on the manipulation of FILE struct internals. Please address any questions about this src.alt to cpu2006support@spec.org.