delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/14/00:24:40

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: <20110313113654.GA22542@calimero.vinschen.de>
References: <1299994671 DOT 5080 DOT 21 DOT camel AT YAAKOV04> <20110313113654 DOT GA22542 AT calimero DOT vinschen DOT de>
Date: Sun, 13 Mar 2011 23:24:22 -0500
Message-ID: <1300076662.3440.15.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 Sun, 2011-03-13 at 12:36 +0100, Corinna Vinschen wrote:
> this offer is way cool.  Thanks for doing this, because this allows my lazy
> self to switch to the latest gcc to build Cygwin without having to build
> the compiler and all the stuff myself.  Really cool.

Glad to help.

> I've just tested to build Cygwin with this gcc, and I have only two small
> problems:
> 
> - libbfd.a and the bfd.h header have to be manually installed, otherwise
>   I can't build dumper.exe.  It would be nice to get a minimal cygwin-bfd
>   runtime package as well to support my lazyness even more. :)

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.

> - The w32api headers are in their own w32api include directory, but the
>   w32api link libs are in sys-root/usr/lib instead of sys-root/usr/lib/w32api
>   where they belong.  I think this should be fixed.

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");

So this code isn't sysroot-safe.  PTC.

HTH,


Yaakov



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019