Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2015-11-14 03:54:12 +0300
committerJan Kotas <jkotas@microsoft.com>2015-11-14 04:11:57 +0300
commit636f8d3a976044ebb5b70d32dfdca42af4391f49 (patch)
tree755ad15d0b05610a99b1c00d5ec98646d9941377 /src/scripts
parent3c1639cbf1f0ea9708b8addf8cbd624b024d1d34 (diff)
Rename ILToNative
- Rename the compiler .exe to ilc.exe - Rename ILToNative.* to ILCompiler.* everywhere else
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/dotnet-compile-native.bat12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/scripts/dotnet-compile-native.bat b/src/scripts/dotnet-compile-native.bat
index 5cb9d3198..6c2ab8de6 100644
--- a/src/scripts/dotnet-compile-native.bat
+++ b/src/scripts/dotnet-compile-native.bat
@@ -18,7 +18,7 @@ set __Outfile=
set __LibPath=
set __Temp=%temp%\
set __AppDepSdk=
-set __ILToNative=%~dp0
+set __ILCompiler=%~dp0
set __CompileMode=cpp
set __LogFilePath=%__Temp%
set __CodegenPath=
@@ -67,7 +67,7 @@ if "%__CompileMode%" == "" (
)
REM Set path contain Runtime.lib/PortableRuntime.lib and System.Private.Corelib.dll
-set __LibPath=%__ILToNative%\sdk
+set __LibPath=%__ILCompiler%\sdk
REM Initialize environment to invoke native tools
call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
@@ -112,7 +112,7 @@ REM Setup the path to include the location of the codegenerator and binary file
REM so that they can be located by the OS loader.
set path=%__CodegenPath%;%__ObjgenPath%;%path%
echo Generating app obj file
-"%__ILToNative%\ILToNative.exe" %__Infile% -r "%__ILToNative%\sdk\System.Private.CoreLib.dll" -r %__AppDepSdk%\*.dll -out %ObjFileName% > %__LogFilePath%\ILToNative.App.log
+"%__ILCompiler%\ilc.exe" %__Infile% -r "%__ILCompiler%\sdk\System.Private.CoreLib.dll" -r %__AppDepSdk%\*.dll -out %ObjFileName% > %__LogFilePath%\ILCompiler.App.log
endlocal
set EXITCode=%ERRORLEVEL%
@@ -139,7 +139,7 @@ call :DeleteFile "%__Outfile%"
REM Generate the CPP file for the MSIL assembly
echo Generating source file
-"%__ILToNative%\ILToNative.exe" %__Infile% -r "%__ILToNative%\sdk\System.Private.CoreLib.dll" -r %__AppDepSdk%\*.dll -out "%CPPFileName%" -cpp > %__LogFilePath%\ILToNative.MSILToCpp.log
+"%__ILCompiler%\ilc.exe" %__Infile% -r "%__ILCompiler%\sdk\System.Private.CoreLib.dll" -r %__AppDepSdk%\*.dll -out "%CPPFileName%" -cpp > %__LogFilePath%\ILCompiler.MSILToCpp.log
if ERRORLEVEL 1 (
echo Unable to generate CPP file.
goto :FailedExit
@@ -163,7 +163,7 @@ if "%__BuildType%" == "Release" (
REM Now compile the CPP file to platform specific executable.
echo Compiling application source files
-"%VCINSTALLDIR%\bin\x86_amd64\CL.exe" /c /I %__AppDepSdk%\CPPSdk\Windows_NT /I %__AppDepSdk%\CPPSdk\ %CPPDefines% /Fo"%ObjFileName%" /Gd /TP /wd4477 /errorReport:prompt %CPPFileName% > %__LogFilePath%\ILToNative.App.log
+"%VCINSTALLDIR%\bin\x86_amd64\CL.exe" /c /I %__AppDepSdk%\CPPSdk\Windows_NT /I %__AppDepSdk%\CPPSdk\ %CPPDefines% /Fo"%ObjFileName%" /Gd /TP /wd4477 /errorReport:prompt %CPPFileName% > %__LogFilePath%\ILCompiler.App.log
if ERRORLEVEL 1 (
echo Unable to compile app source file.
goto :FailedExit
@@ -171,7 +171,7 @@ if ERRORLEVEL 1 (
:LinkObj
echo Generating native executable
-"%VCINSTALLDIR%\bin\x86_amd64\link.exe" /ERRORREPORT:PROMPT /OUT:"%__Outfile%" /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib %libRuntime% %libBootstrapper% %__LinkLibs% /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /Debug /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT %LinkOpts% /MACHINE:%__BuildArch% "%ObjFileName%" > %__LogFilePath%\ILToNative.Link.log
+"%VCINSTALLDIR%\bin\x86_amd64\link.exe" /ERRORREPORT:PROMPT /OUT:"%__Outfile%" /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib %libRuntime% %libBootstrapper% %__LinkLibs% /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /Debug /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT %LinkOpts% /MACHINE:%__BuildArch% "%ObjFileName%" > %__LogFilePath%\ILCompiler.Link.log
if ERRORLEVEL 1 (
echo Unable to link native executable.
goto :FailedExit