radare2/sys/mingw32.bat

16 lines
1.2 KiB
Batchfile
Raw Normal View History

2016-01-22 19:48:34 +00:00
SET PATH=C:\MinGW\msys\1.0\bin;C:\Program Files (x86)\Git\bin;%PATH%
SET ENV_R2_VER=0.10.3
2016-01-11 12:57:29 +00:00
echo %PATH%
2016-01-22 19:48:34 +00:00
sh.exe -c "export PATH=/c/mingw/bin:/c/mingw/msys/1.0/bin:/c/Program\ Files\ \(x86\)/Git/bin:${PATH} ; gcc -v"
2016-01-11 12:57:29 +00:00
sh.exe -c "uname | tr 'A-Z' 'a-z'"
sh.exe -c "echo ${CC}"
2016-02-16 13:31:53 +00:00
sh.exe -c "sed -i '/xtensa/d' plugins.def.cfg"
2016-02-25 16:03:48 +00:00
sh.exe -c "export PATH=/c/mingw/bin:/c/mingw/msys/1.0/bin:/c/Program\ Files\ \(x86\)/Git/bin:${PATH} ; ./configure --with-ostype=mingw32 --build=i686-unknown-windows-gnu ; make -j1 CC='gcc -static-libgcc'; make w32dist USE_ZIP=NO"
2016-01-11 12:57:29 +00:00
if "%APPVEYOR%" == "True" (
appveyor DownloadFile https://raw.githubusercontent.com/radare/radare2-win-installer/master/radare2.iss
appveyor DownloadFile https://raw.githubusercontent.com/radare/radare2-win-installer/master/radare2.ico
2016-02-29 09:04:13 +00:00
dir %APPVEYOR_BUILD_FOLDER%\radare2-w32-%ENV_R2_VER%
7z.exe a -tzip %APPVEYOR_BUILD_FOLDER%\radare2-w32-%ENV_R2_VER%.zip %APPVEYOR_BUILD_FOLDER%\radare2-w32-%EVN_R2_VER%
iscc -DRadare2Location=%APPVEYOR_BUILD_FOLDER%\radare2-w32-%ENV_R2_VER%\* -DLicenseLocation=%APPVEYOR_BUILD_FOLDER%\COPYING.LESSER -DIcoLocation=%APPVEYOR_BUILD_FOLDER%\radare2.ico radare2.iss
2016-01-11 12:57:29 +00:00
)