From 32a6f64c439d1afbd0adc28ece1c459c11c179e1 Mon Sep 17 00:00:00 2001 From: Ryan Collins Date: Sat, 17 Oct 2020 22:42:45 -0400 Subject: [PATCH] restored default MinGW/GCC system libraries --- make_w32.cmd | 3 ++- make_w64.cmd | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/make_w32.cmd b/make_w32.cmd index 2c351469..ae842500 100644 --- a/make_w32.cmd +++ b/make_w32.cmd @@ -8,6 +8,7 @@ REM to execute the Unix shell script "make.sh" from Windows 10+ or Git Bash. REM The following line is the only one you should ever need to change. set MinGW=C:\MinGW +REM set MinGW=C:\msys64\mingw32 set lib=%MinGW%\lib set bin=%MinGW%\bin @@ -71,6 +72,6 @@ as -o "%obj%\vu\divide.o" "%obj%\vu\divide.asm" ECHO. ECHO Linking assembled object files... -ld --shared -e _DllMain@12 -o "%obj%\rspdebug.dll" -L %lib% %OBJ_LIST% -lmsvcrt +gcc --shared -e _DllMain@12 -o "%obj%\rspdebug.dll" -L %lib% %OBJ_LIST% -lmsvcrt strip -o "%obj%\rsp.dll" "%obj%\rspdebug.dll" --strip-all PAUSE diff --git a/make_w64.cmd b/make_w64.cmd index 9e7e7e93..3b450f93 100644 --- a/make_w64.cmd +++ b/make_w64.cmd @@ -75,6 +75,6 @@ as -o "%obj%\vu\divide.o" "%obj%\vu\divide.asm" ECHO. ECHO Linking assembled object files... -ld --shared -e DllMain -o "%obj%\rspdebug.dll" -L%lib64% %OBJ_LIST% -lmsvcrt +gcc --shared -e DllMain -o "%obj%\rspdebug.dll" -L%lib64% %OBJ_LIST% -lmsvcrt strip -o "%obj%\rsp.dll" "%obj%\rspdebug.dll" --strip-all PAUSE