X-Spam-Check-By: sourceware.org Message-ID: <44DBBD40.6303CF21@dessent.net> Date: Thu, 10 Aug 2006 16:12:00 -0700 From: Brian Dessent 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: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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/