| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
| X-Spam-Check-By: | sourceware.org |
| Subject: | Re: Fedora Cygwin RPM repository |
| From: | "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net> |
| To: | cygwin <cygwin AT cygwin DOT com> |
| In-Reply-To: | <20110314095945.GA356@calimero.vinschen.de> |
| References: | <1299994671 DOT 5080 DOT 21 DOT camel AT YAAKOV04> <20110313113654 DOT GA22542 AT calimero DOT vinschen DOT de> <1300076662 DOT 3440 DOT 15 DOT camel AT YAAKOV04> <20110314095945 DOT GA356 AT calimero DOT vinschen DOT de> |
| Date: | Tue, 15 Mar 2011 00:48:43 -0500 |
| Message-ID: | <1300168123.5388.13.camel@YAAKOV04> |
| Mime-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Mon, 2011-03-14 at 10:59 +0100, Corinna Vinschen wrote:
> On Mar 13 23:24, Yaakov (Cygwin/X) wrote:
> > I just added a cygwin-binutils-devel package with the necessary headers
> > and static libraries.
> >
> > The only trick is you need to manually
> > remove /usr/i686-pc-cygwin/lib/libiberty.a so that the "correct"
> > libiberty.a is used instead until I have the chance to rebuild
> > cygwin-gcc.
>
> Thanks!
cygwin-gcc 4.5.1-2 is now available for both arches without libiberty.a.
> > I tried that at first, but it didn't work. The problem is with
> > binutils:
> >
> > $ i686-pc-cygwin-strings /usr/bin/i686-pc-cygwin-ld.bfd | grep w32api
> > SEARCH_DIR("/usr/i686-pc-cygwin/lib/w32api");
>
> I don't quite understand how this matches the current installation.
> Right now the w32api libs are in sys-root/usr/lib, not in lib. I'm sure
> I'm missing something.
For a cygwin-target cross-compiler, binutils' ld/configure.tgt
hard-codes $(tooldir)/lib/w32api as an additional library directory.
While technically valid, is it not where we want libraries to be when
using a sysroot.
I added a small patch to binutils[1] to add sys-root/usr/lib/w32api and
have rebuilt cygwin-binutils and cygwin-w32api accordingly.
HTH,
Yaakov
P.S. I see that you already used this to fix the gcc-4.5 warnings in
winsup/cygwin, but you only applied those to your post-1.7.9 branch.
Any chance you could commit those to HEAD now as well?
[1]
http://fedora-cygwin.git.sourceforge.net/git/gitweb.cgi?p=fedora-cygwin/cygwin-binutils;a=blob;f=w32api-sysroot.patch;h=a996aef;hb=49213c4
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |