cygwin.h (STARTFILE_SPEC): Explicitly search sysroot/usr/lib/32api for additional...
authorJonathan Yong <10walls@gmail.com>
Mon, 21 Sep 2015 09:58:44 +0000 (09:58 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Mon, 21 Sep 2015 09:58:44 +0000 (11:58 +0200)
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

gcc/ChangeLog
gcc/config/i386/cygwin.h

index d9682b70bc9fe25cf07d2b1d8f3866dc17bc9b70..6c79ba8833d0854b73282f7461a2d93b3e03054e 100644 (file)
@@ -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  <olegendo@gcc.gnu.org>
 
        * doc/invoke.texi (SH Options): Undocument SH5/SH64 related options.
index 2186937849a7ca1d61df6240d1acfac6277b475c..d1b6bc51b534dbe21dc7eda521bebf98ddc12f4c 100644 (file)
@@ -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} \