msvc cl build tweek

This commit is contained in:
jasonmoxham 2011-03-20 11:04:58 +00:00
parent 49c0863840
commit 19cef12961

View File

@ -21,7 +21,6 @@
set MPIRDIR=..\mpn\x86_64w\nehalem\ set MPIRDIR=..\mpn\x86_64w\nehalem\
set YASM="%VS90COMNTOOLS%\..\..\VC\bin\" set YASM="%VS90COMNTOOLS%\..\..\VC\bin\"
set PATH=%PATH%;%YASM%
md mpn mpz mpq mpf printf scanf > nul 2>&1 md mpn mpz mpq mpf printf scanf > nul 2>&1
copy ..\build.vc10\gen_mpir_h.bat . copy ..\build.vc10\gen_mpir_h.bat .
@ -45,6 +44,8 @@ goto :gotcc
call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat" amd64 call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat" amd64
:gotcc :gotcc
del comptest.* del comptest.*
:: dont set yasm path until after MSVC
set PATH=%PATH%;%YASM%
echo #include ^<stdint.h^> > comptest.c echo #include ^<stdint.h^> > comptest.c
echo int main(void){return 0;} >> comptest.c echo int main(void){return 0;} >> comptest.c