summaryrefslogtreecommitdiffstats
path: root/gcc/config/winnt
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-05-26 12:29:56 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-05-26 12:29:56 +0000
commitbb6c84bb9e64523b8f9746b760729fcd50d103fb (patch)
treea96085c52ac6603b8812144676fbfb7ccc6f673f /gcc/config/winnt
parent9e1fe5027904a1c8618a674aa4b335eacbb4a2a4 (diff)
downloadppe42-gcc-bb6c84bb9e64523b8f9746b760729fcd50d103fb.tar.gz
ppe42-gcc-bb6c84bb9e64523b8f9746b760729fcd50d103fb.zip
Make .h files properly for Alpha.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12109 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/winnt')
-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 59a00863931..688d1264e89 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
OpenPOWER on IntegriCloud