X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=msvc%2Frunburg.bat;h=d7abbcd0642d323bf1ec8cfd6544afdd31bc65ab;hb=30cddad5fb4c3d290906a6e6c33ecd8b07d8b48c;hp=7e36428b99af14da1335c9e3f6b274fbe8534312;hpb=e66dac6f3f265c261876bc011157c6392ae5d8a1;p=mono.git diff --git a/msvc/runburg.bat b/msvc/runburg.bat index 7e36428b99a..d7abbcd0642 100755 --- a/msvc/runburg.bat +++ b/msvc/runburg.bat @@ -1,8 +1,23 @@ @echo off rem This runs Monoburg on the various x86 files when called on Visual Studio -echo Running Monoburg on the x86 inssel.brg files... +echo Running Monoburg on the inssel.brg files... cd ..\mono\mini -set PATH=%PATH%;..\..\VSDependancies\lib +set PATH=%PATH%;%MONO_DEPENDENCIES_PREFIX%\bin + +if "%2" == "Win32" goto x86 +if "%2" == "x64" goto x64 +goto error +:x86 +echo Platform detected is x86... %1 -c 1 -p -e inssel.brg inssel-float.brg inssel-long32.brg inssel-x86.brg -d inssel.h -s inssel.c +goto end +:x64 +echo Platform detected is x64... +%1 -c 1 -p -e inssel.brg inssel-float.brg inssel-long.brg inssel-amd64.brg -d inssel.h -s inssel.c +goto end +:error +echo Error: unsupported platform +exit /b 100 +:end echo done