xxxxx@compuserve.com wrote:
I’m having a problem with STAMPINF and INF2CAT.
I create an INF file containing the $ARCH$ symbol for substitution by STAMPINF.
STAMPINF replaces symbol $ARCH$ with either x86 or x64 depending on os.
I’m specifying: os:6_3_X64,Server6_3_X64,8_X64,Server8_X64
so I get x64 substituted for $ARCH$.
No, you don’t. You want AMD64. If you are running STAMPINF in a batch
file in of a WDK build environment, you can leave off the “-a” parameter
altogether. It will read the _BUILDARCH environment variable, which is
either x86 or AMD64. If you are running it standalone outside of WDK,
then you need to specify either “-a x86” or “-a AMD64”.
The AMD64 vs x64 confusion is a historical anomaly. In the early days,
Intel bet its money on the Itanium, which was “ia64”. AMD came up with
their 64-bit architecture, which they called “amd64”. Those were the
terms used in the DDKs of the time.
As the years went by, Itanium died and Intel adopted the amd64
architecture as em64t. Eventually, Intel complained about the use of
the term “amd64” for what was now a more generic architecture, so some
of the tools started switching to x64. The INF format, however, is
steeped in the mists of antiquity. That’s why it is still valid to say
Signature=$Chicago$
even though Chicago, which was the code name for the original release of
Windows 95, ceased to be relevant more than 20 years ago.
INF2CAT then declares that the INF does not have NTAMD64 decorated model sections.
Right, because it doesn’t.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.