From: Jonathan Yong <10walls@gmail.com> Date: Mon, 21 Sep 2015 09:58:44 +0000 (+0000) Subject: cygwin.h (STARTFILE_SPEC): Explicitly search sysroot/usr/lib/32api for additional... X-Git-Tag: basepoints/gcc-7~4456 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84fe5e5c412dccda48c87c775672433d5034b160;p=thirdparty%2Fgcc.git cygwin.h (STARTFILE_SPEC): Explicitly search sysroot/usr/lib/32api for additional win32 libraries... 2015-09-21 Jonathan Yong <10walls@gmail.com> * config/i386/cygwin.h (STARTFILE_SPEC): Explicitly search sysroot/usr/lib/32api for additional win32 libraries, fixes failing Cygwin bootstrapping. From-SVN: r227962 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d9682b70bc9f..6c79ba8833d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-09-21 Jonathan Yong <10walls@gmail.com> + + * config/i386/cygwin.h (STARTFILE_SPEC): Explicitly search + sysroot/usr/lib/32api for additional win32 libraries, + fixes failing Cygwin bootstrapping. + 2015-09-21 Oleg Endo * doc/invoke.texi (SH Options): Undocument SH5/SH64 related options. diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index 2186937849a7..d1b6bc51b534 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} \