X-Recipient: archive-cygwin@delorie.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@users.sourceforge.net>
To: cygwin <cygwin@cygwin.com>
In-Reply-To: <20110313113654.GA22542@calimero.vinschen.de>
References: <1299994671.5080.21.camel@YAAKOV04>	 <20110313113654.GA22542@calimero.vinschen.de>
Content-Type: text/plain; charset="UTF-8"
Date: Sun, 13 Mar 2011 23:24:22 -0500
Message-ID: <1300076662.3440.15.camel@YAAKOV04>
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

