Skip to content

Commit

Permalink
restored default MinGW/GCC system libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
ExtremeDude2 committed Oct 18, 2020
1 parent 04c2aba commit 32a6f64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion make_w32.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion make_w64.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 32a6f64

Please sign in to comment.