aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-01-10 07:19:18 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1997-01-10 07:19:18 -0500
commit26d1d6ad197c40e593f4b61c099436385428557d (patch)
treedef727156eaea7e5aea27e97d9b05df473e65d82 /gcc
parent1496daef02449e9e20a95a453ea93084f84da7c8 (diff)
downloadgcc-26d1d6ad197c40e593f4b61c099436385428557d.zip
gcc-26d1d6ad197c40e593f4b61c099436385428557d.tar.gz
gcc-26d1d6ad197c40e593f4b61c099436385428557d.tar.bz2
(LINK_SPEC): New definition.
From-SVN: r13482
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/cygwin32.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/i386/cygwin32.h b/gcc/config/i386/cygwin32.h
index d1f8186..b8cbc36 100644
--- a/gcc/config/i386/cygwin32.h
+++ b/gcc/config/i386/cygwin32.h
@@ -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. */