aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-05-26 08:29:56 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-05-26 08:29:56 -0400
commita6adb9ede1fc84546a96fa1fbb571e00a260aa22 (patch)
treea96085c52ac6603b8812144676fbfb7ccc6f673f /gcc
parent612f184706bba021bf47ab88f7bf029c9b72bc0d (diff)
downloadgcc-a6adb9ede1fc84546a96fa1fbb571e00a260aa22.zip
gcc-a6adb9ede1fc84546a96fa1fbb571e00a260aa22.tar.gz
gcc-a6adb9ede1fc84546a96fa1fbb571e00a260aa22.tar.bz2
Make .h files properly for Alpha.
From-SVN: r12109
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/winnt/config-nt.bat15
1 files changed, 11 insertions, 4 deletions
diff --git a/gcc/config/winnt/config-nt.bat b/gcc/config/winnt/config-nt.bat
index 59a0086..688d1264 100644
--- a/gcc/config/winnt/config-nt.bat
+++ b/gcc/config/winnt/config-nt.bat
@@ -1,10 +1,17 @@
echo Configuring GCC for Windows NT on %2
rem This batch file assumes a unix-type "sed" program
-echo #include "%2/xm-winnt.h" >config.h
-echo #include "%2/xm-winnt.h" >hconfig.h
-echo #include "%2/xm-winnt.h" >tconfig.h
-echo #include "%2/win-nt.h" >tm.h
+if %2.==alpha. echo #include "alpha/xm-alpha.h" >config.h
+if %2.==alpha. echo #include "winnt/xm-winnt.h" >>config.h
+if %2.==alpha. echo #include "alpha/xm-winnt.h" >>config.h
+if not %2.==alpha. echo #include "%2/xm-winnt.h" >config.h
+copy config.h hconfig.h
+copy config.h tconfig.h
+
+if %2.==alpha. echo #define TARGET_CPU_DEFAULT 64 >tm.h
+if %2.==alpha. echo #include "alpha/alpha.h" >>tm.h
+if %2.==alpha. echo #include "alpha/win-nt.h" >>tm.h
+if not %2.==alpha. echo #include "%2/win-nt.h" >tm.h
rem This batch file assumes a unix-type "sed" program