public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix Cygwin bootstrap failing to find win32 libraries
@ 2015-09-16 11:46 JonY
       [not found] ` <CAEwic4bFmxV-9pQi160cxUC2yCfA1qzjZsUmdUnQpiLYiOv_gQ@mail.gmail.com>
  2015-09-20 18:08 ` Kai Tietz
  0 siblings, 2 replies; 5+ messages in thread
From: JonY @ 2015-09-16 11:46 UTC (permalink / raw)
  To: Gcc Patch List

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

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} \



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-21  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-16 11:46 [PATCH] Fix Cygwin bootstrap failing to find win32 libraries JonY
     [not found] ` <CAEwic4bFmxV-9pQi160cxUC2yCfA1qzjZsUmdUnQpiLYiOv_gQ@mail.gmail.com>
2015-09-20  0:55   ` JonY
2015-09-20 18:08 ` Kai Tietz
2015-09-20 22:53   ` JonY
2015-09-21  9:59     ` Kai Tietz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).