This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch]: For mingw and cygwin targets allow second make of libgcc
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Kai Tietz <Kai dot Tietz at onevision dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 18 Nov 2008 11:54:01 +0100
- Subject: Re: [patch]: For mingw and cygwin targets allow second make of libgcc
- References: <OFBBB93844.5ACC0DE1-ONC1257505.003A9577-C1257505.003B0EBF@onevision.de>
Kai Tietz wrote:
> Hi,
>
> as I noticed while testing the patch about shared version of libgcc
> introduced an minor issue for mingw and cygwin targets. The build will
> fail, if you try to do a second attempt to link/compile libgcc. This is
> reasoned by a generation of a symbolic link, without checking if this
> already exists.
>
> ChangeLog
>
> 2008-11-18 Kai Tietz <kai.tietz@onevision.com>
>
> * config/i386/t-cygming (SHLIB_LINK): Make sure that
> $(SHLIB_MAP).def
> is removed before trying to do a symbol link.
"$(LN_S) -f" should work instead and is preapproved.
Paolo