OSDN Git Service

[pf3gnuchains/gcc-fork.git] / gcc / configure.bat
index 88d7c0a..33cbe65 100644 (file)
@@ -1,15 +1,21 @@
-@echo off
-if %1.==msdos. goto call_msdos
-if %1.==winnt. goto call_winnt
-echo Usage: configure msdos or configure winnt
-goto END
+@echo off\r
+if %1.==go32. goto call_go32\r
+if %1.==winnt. goto call_winnt\r
+echo Usage: configure go32 or configure winnt cpu\r
+goto END\r
+\r
+:call_go32\r
+call config\msdos\configure %1 %2 %3 %4\r
+goto END\r
+\r
+:call_winnt\r
+if %2.==i386. goto really_call_winnt\r
+if %2.==alpha. goto really_call_winnt\r
+echo Usage: configure winnt i386 or configure winnt alpha\r
+goto END\r
+:really_call_winnt\r
+call config\winnt\config-nt %1 %2 %3 %4\r
+goto END\r
+\r
+:END\r
 
-:call_msdos
-call config\msdos\configure %1 %2 %3 %4
-goto END
-
-:call_winnt
-call config\i386\config-nt %1 %2 %3 %4
-goto END
-
-:END