summaryrefslogtreecommitdiff
path: root/gcc/configure.bat
blob: 33cbe65df6e138bfaa51d224cbd93cf208a1eec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
if %1.==go32. goto call_go32
if %1.==winnt. goto call_winnt
echo Usage: configure go32 or configure winnt cpu
goto END

:call_go32
call config\msdos\configure %1 %2 %3 %4
goto END

:call_winnt
if %2.==i386. goto really_call_winnt
if %2.==alpha. goto really_call_winnt
echo Usage: configure winnt i386 or configure winnt alpha
goto END
:really_call_winnt
call config\winnt\config-nt %1 %2 %3 %4
goto END

:END