* config.gcc (c_target_objs)[i?86-*-pe|i?86-*-cygwin*]: Don't add
[official-gcc.git] / gcc / config / i386 / t-cygwin
blobf5eda91c0ef275a7a175db7f5d36f1ba4467d488
1 # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2008, 2009, 2010
2 # Free Software Foundation, Inc.
4 # This file is part of GCC.
6 # GCC is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
11 # GCC is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with GCC; see the file COPYING3.  If not see
18 # <http://www.gnu.org/licenses/>.
20 # If we are building next to winsup, this will let us find the real
21 # limits.h when building libgcc2.  Otherwise, winsup must be installed
22 # first.
23 LIBGCC2_INCLUDES += -I$(srcdir)/../winsup/include \
24         -I$(srcdir)/../winsup/cygwin/include
26 # Cygwin-specific parts of LIB_SPEC
27 SHLIB_LC = -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32
29 # We have already included one of the t-{dw2,sjlj}-eh fragments for EH_MODEL
30 SHLIB_EH_EXTENSION = $(subst -dw2,,-$(EH_MODEL))
32 # Cygwin uses different conventions than MinGW; override generic SHLIB_ def'ns here.
33 SHLIB_IMPLIB = @shlib_base_name@$(SHLIB_EXT).a
34 SHLIB_SONAME = cyggcc_s$(SHLIB_EH_EXTENSION)-$(SHLIB_SOVERSION)$(SHLIB_EXT)
35 # This must match the definitions of SHLIB_SONAME/SHLIB_SOVERSION and LIBGCC_SONAME.
36 # We'd like to use SHLIB_SONAME here too, and we can, since
37 # we don't rely on shlib_base_name substitution for it.
38 SHLIB_MKMAP_OPTS = -v pe_dll=$(SHLIB_SONAME)