symbian-qemu-0.9.1-12/python-2.6.1/PC/VS7.1/amd64_ml64.bat
author Peter Fordham <peter.fordham@gmail.com>
Mon, 31 May 2010 16:05:54 -0700
branchCompilerCompatibility
changeset 76 8e8bf3dcfd6b
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Bug 1806 - Simplify/Remove use of inline assembler.

@echo off
rem Try to find the AMD64 assembler and call it with the supplied arguments.

set MLEXE=Microsoft Platform SDK\Bin\Win64\x86\AMD64\ml64.EXE

rem For the environment variables see also
rem http://msdn.microsoft.com/library/en-us/win64/win64/wow64_implementation_details.asp

if exist "%ProgramFiles%\%MLEXE%" (
  set ML64="%ProgramFiles%\%MLEXE%"
) else if exist "%ProgramW6432%\%MLEXE%" (
  set ML64="%ProgramW6432%\%MLEXE%"
) else (
  set ML64=ml64.exe
)

%ML64% %*