(LINK_SPEC): New definition.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 10 Jan 1997 12:19:18 +0000 (07:19 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 10 Jan 1997 12:19:18 +0000 (07:19 -0500)
From-SVN: r13482

gcc/config/i386/cygwin32.h

index d1f8186b481398ae8f13a099122d6cdd590a1892..b8cbc36af8aa333861288fba843e684399413bde 100644 (file)
@@ -2,7 +2,7 @@
    hosting on Windows NT 3.x, using a Unix style C library and tools,
    as distinct from winnt.h, which is used to build GCC for use with a
    windows style library and tool set and uses the Microsoft tools.
-   Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -50,6 +50,8 @@ Boston, MA 02111-1307, USA. */
 #undef LIB_SPEC
 #define LIB_SPEC "-lcygwin %{mwindows:-luser32 -lgdi32 -lcomdlg32} -lkernel32"
 
+#define LINK_SPEC "%{mwindows:--subsystem windows}"
+
 /* Normally, -lgcc is not needed since everything in it is in the DLL, but we
    want to allow things to be added to it when installing new versions of
    GCC without making a new CYGWIN.DLL, so we leave it.  */