Added -D_M_ALPHA to CPP_PREDEFINES.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 12 Sep 1995 21:59:37 +0000 (17:59 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 12 Sep 1995 21:59:37 +0000 (17:59 -0400)
Changed LIB_SPEC to be compatible with Gnu ld for NT.

From-SVN: r10333

gcc/config/alpha/win-nt.h

index 3d10d887c378cfab69a501944a61ce1aa374d7a9..845f58a81dae719cf4837dfcc97db765b996fe0f 100644 (file)
@@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA.  */
 
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-DWIN32 -D_WIN32\
-  -DWINNT -D__STDC__=0 -DALMOST_STDC\
+  -DWINNT -D__STDC__=0 -DALMOST_STDC -D_M_ALPHA\
   -D_ALPHA_ -D__alpha -D__alpha__ -D_LONGLONG -Asystem(winnt) -Acpu(alpha)\
   -Amachine(alpha)"
 
@@ -65,8 +65,8 @@ Boston, MA 02111-1307, USA.  */
 }
 
 #undef LIB_SPEC
-#define LIB_SPEC "%{mwindows:-subsystem:windows -entry:WinMainCRTStartup \
-  USER32.LIB GDI32.LIB COMDLG32.LIB WINSPOOL.LIB} \
- %{!mwindows:-subsystem:console -entry:mainCRTStartup} \
- %{mcrtmt:LIBCMT.LIB KERNEL32.LIB} %{!mcrtmt:LIBC.LIB KERNEL32.LIB} \
+#define LIB_SPEC "%{mwindows:-subsystem windows -e _WinMainCRTStartup \
+  USER32.LIB%s GDI32.LIB%s COMDLG32.LIB%s WINSPOOL.LIB%s} \
+ %{!mwindows:-subsystem console -e _mainCRTStartup} \
+ %{mcrtmt:LIBCMT.LIB%s KERNEL32.LIB%s} %{!mcrtmt:LIBC.LIB%s KERNEL32.LIB%s} \
  %{v}"