This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix Cygwin bootstrap failing to find win32 libraries
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: JonY <10walls at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 20 Sep 2015 20:05:28 +0200
- Subject: Re: [PATCH] Fix Cygwin bootstrap failing to find win32 libraries
- Authentication-results: sourceware.org; auth=none
- References: <55F95595 dot 2040907 at gmail dot com>
2015-09-16 13:42 GMT+02:00 JonY <10walls@gmail.com>:
> libgcc is failing to find kerne32 etc during the 2nd stage when
> bootstraping, explicitly add w32api directory to search path.
>
> Patch OK?
>
> diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
> index 2a2a0bf..fd3bc0a 100644
> --- a/gcc/config/i386/cygwin.h
> +++ b/gcc/config/i386/cygwin.h
> @@ -39,6 +39,7 @@ along with GCC; see the file COPYING3. If not see
>
> #undef STARTFILE_SPEC
> #define STARTFILE_SPEC "\
> + -L%R/usr/lib/w32api \
> %{!shared: %{!mdll: crt0%O%s \
> %{pg:gcrt0%O%s}}}\
> %{shared:crtbeginS.o%s;:crtbegin.o%s} \
>
>
Hello JonY,
patch is ok with proper ChangeLog. For sample of format see existing
ChangeLog files in gcc-subdirectory.
Thanks,
Kai