Subversion Repositories Tewi

Rev

Rev 249 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 249 Rev 400
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: vc6.sh 249 2024-10-03 20:59:55Z nishi $
2
# $Id: vc4mips.sh 400 2024-11-03 05:19:42Z nishi $
3
# Wrapper for CL. VC6 sucks.
3
# Wrapper for CL. VC6 sucks.
4
 
4
 
5
outfile="a.out"
5
outfile="a.out"
6
dowhat=""
6
dowhat=""
7
options="/I../VC6Compat"
7
options="/I../VC6Compat /D_NTSDK /Ddouble=long /DNEED_DIRECT"
8
obj=0
8
obj=0
9
win=0
9
win=0
10
source=""
10
source=""
11
libraries=""
11
libraries=""
12
link=""
12
link=""
Line 57... Line 57...
57
if [ "$obj" = "0" ]; then
57
if [ "$obj" = "0" ]; then
58
	if [ "$win" = "1" ]; then
58
	if [ "$win" = "1" ]; then
59
		link="$link /SUBSYSTEM:windows"
59
		link="$link /SUBSYSTEM:windows"
60
	fi
60
	fi
61
fi
61
fi
62
construct="cl /nologo $options $source $link"
62
construct="clmips /nologo $options $source $link"
63
echo "Run: $construct"
63
echo "Run: $construct"
64
$construct
64
$construct