From 26d1d6ad197c40e593f4b61c099436385428557d Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 10 Jan 1997 07:19:18 -0500 Subject: [PATCH] (LINK_SPEC): New definition. From-SVN: r13482 --- gcc/config/i386/cygwin32.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/config/i386/cygwin32.h b/gcc/config/i386/cygwin32.h index d1f8186b481..b8cbc36af8a 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. */ -- 2.30.2