diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-12 17:59:37 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-12 17:59:37 -0400 |
commit | c1c582c50c9ddb77f2859da25b1931e02c0f5b33 (patch) | |
tree | 68ecb1a7131a8c07c849481241b8cab772870f9a /gcc | |
parent | c0cacfd5a58ad8d0bdb5fb64ab9457f959684412 (diff) | |
download | gcc-c1c582c50c9ddb77f2859da25b1931e02c0f5b33.zip gcc-c1c582c50c9ddb77f2859da25b1931e02c0f5b33.tar.gz gcc-c1c582c50c9ddb77f2859da25b1931e02c0f5b33.tar.bz2 |
Added -D_M_ALPHA to CPP_PREDEFINES.
Changed LIB_SPEC to be compatible with Gnu ld for NT.
From-SVN: r10333
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/alpha/win-nt.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/alpha/win-nt.h b/gcc/config/alpha/win-nt.h index 3d10d88..845f58a 100644 --- a/gcc/config/alpha/win-nt.h +++ b/gcc/config/alpha/win-nt.h @@ -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}" |