linux build
This commit is contained in:
parent
bcd7146fcf
commit
006eb23980
@ -4,11 +4,11 @@ del %1.exe
|
|||||||
del %1.obj
|
del %1.obj
|
||||||
|
|
||||||
rem use "ntvdm cl /help" to get command-line arguments
|
rem use "ntvdm cl /help" to get command-line arguments
|
||||||
ntvdm -t cl /Ox /DDOSTIME /AS /Gs /Ze /Zp -I inc -I inc\sys -L lib %1.c
|
ntvdm -r:. cl /Ox /DDOSTIME /AS /Gs /Ze /Zp -I inc -I inc\sys -L lib %1.c
|
||||||
if %ERRORLEVEL% NEQ 0 goto alldone
|
if %ERRORLEVEL% NEQ 0 goto alldone
|
||||||
|
|
||||||
rem use "ntvdm link /help" to get command-line arguments
|
rem use "ntvdm link /help" to get command-line arguments
|
||||||
ntvdm -t link %1,,%1,lib\slibfp+lib\slibc+lib\em
|
ntvdm -r:. link %1,,%1,lib\slibfp+lib\slibc+lib\em
|
||||||
if %ERRORLEVEL% NEQ 0 goto alldone
|
if %ERRORLEVEL% NEQ 0 goto alldone
|
||||||
|
|
||||||
rem ntvdm -d -C -p %1
|
rem ntvdm -d -C -p %1
|
||||||
|
15
Microsoft C v3/m.sh
Normal file
15
Microsoft C v3/m.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
str=$(tr '[a-z]' '[A-Z]' <<< $1)
|
||||||
|
|
||||||
|
rm $str.COD 2>/dev/null
|
||||||
|
rm $str.MAP 2>/dev/null
|
||||||
|
rm $str.OBJ 2>/dev/null
|
||||||
|
rm $str.EXE 2>/dev/null
|
||||||
|
|
||||||
|
ntvdm -u -r:. cl /Ox /DDOSTIME /AS /Gs /Ze /Zp -I inc -I inc\\sys -L lib $str.c
|
||||||
|
ntvdm -u -r:. link $str,,$str,lib\\slibfp+lib\\slibc+lib\\em
|
||||||
|
|
||||||
|
rm $str.COD 2>/dev/null
|
||||||
|
rm $str.MAP 2>/dev/null
|
||||||
|
rm $str.OBJ 2>/dev/null
|
||||||
|
|
||||||
|
ntvdm -d -c -p $str
|
Loading…
Reference in New Issue
Block a user