mirror of
https://github.com/simh/simh.git
synced 2026-05-03 14:38:45 +00:00
makefile: Cleaned up MinGw build and provided an option to build without Asynch I/O support using MinGw.
This commit is contained in:
15
build_mingw_noasync.bat
Normal file
15
build_mingw_noasync.bat
Normal file
@@ -0,0 +1,15 @@
|
||||
@echo off
|
||||
rem Build without SIM_ASYNCH_IO defined (avoiding the use of pthreads)
|
||||
rem Compile all of SIMH using MINGW make and gcc environment
|
||||
rem Individual simulator sources are in .\simulator_name
|
||||
rem Individual simulator executables are to .\bin
|
||||
rem
|
||||
rem If needed, define the path for the MINGW bin directory.
|
||||
rem (this should already be set if MINGW was installed correctly)
|
||||
rem
|
||||
gcc -v 1>NUL 2>NUL
|
||||
if ERRORLEVEL 1 path C:\MinGW\bin;%path%
|
||||
if not exist BIN mkdir BIN
|
||||
gcc -v 1>NUL 2>NUL
|
||||
if ERRORLEVEL 1 echo "MinGW Environment Unavailable"
|
||||
mingw32-make WIN32=1 NOASYNCH=1 -f makefile %1 %2 %3 %4
|
||||
Reference in New Issue
Block a user