mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 15:38:09 +00:00
16 lines
1.2 KiB
Batchfile
Executable File
16 lines
1.2 KiB
Batchfile
Executable File
SET PATH=C:\MinGW\msys\1.0\bin;C:\Program Files (x86)\Git\bin;%PATH%
|
|
SET ENV_R2_VER=0.10.1-git
|
|
echo %PATH%
|
|
sh.exe -c "export PATH=/c/mingw/bin:/c/mingw/msys/1.0/bin:/c/Program\ Files\ \(x86\)/Git/bin:${PATH} ; gcc -v"
|
|
sh.exe -c "uname | tr 'A-Z' 'a-z'"
|
|
sh.exe -c "echo ${CC}"
|
|
sh.exe -c "sed -i '/xtensa/d' plugins.def.cfg"
|
|
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"
|
|
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
|
|
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
|
|
)
|