delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/10/19:12:12

X-Spam-Check-By: sourceware.org
Message-ID: <44DBBD40.6303CF21@dessent.net>
Date: Thu, 10 Aug 2006 16:12:00 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gcc-3.4.4 compile dietlibc error on cygwin
References: <a6355d0d0608101413o66650e6dif57b05db38ab5fd9 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Wang Yiping wrote:

> I met a problem on compiling dietlibc on the lastest gcc-3.4.4 with
> error. I don't know if I can do this on cygwin.

It's not really clear what you're trying to accomplish here.  If you're
trying to natively compile this lib then that's almost certainly going
to fail, as dietlibc supports the linux kernel only.  (Just like you
can't just compile glibc for windows and run it -- if this were possible
then there would be no need for Cygwin at all.)

If you're trying to cross-compile it for some other target then that
should work fine, but you can't use the native gcc for that.  You'll
need to build a cross-toolchain for whatever machine/architecture you're
targeting.  There are better lists to discuss this (such as crossgcc AT
sourceware . org) as it is a generic procedure that is not specific to
Cygwin.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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