delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/15/22:40:05

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
Message-ID: <428808BB.FBA46ED0@dessent.net>
Date: Sun, 15 May 2005 19:43:07 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: having trouble compiling gcc (3.3.3 or 3.3.5) in cygwin
References: <200505152216 DOT AA200016178 AT mail DOT rabinglove DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

admin wrote:

> my original question was how to get gcc to compile (w/o using distcc) as a means for building my cross compiler.  at least thats what i thought i was doing.  i was following this howto: http://gentoo-wiki.com/HOWTO_Distcc_server_on_Windows .  like i said, im a bit out of my league here.
> 
> do you still think i need to be over in the other mailing list?  i ask b/c i am a little confused as to whether i should be following that guide at all right now.

As I said, in your original post your cross compiler build was failing
because you don't seem to have the target (i.e. linux) headers installed
in the right place.  There is a circular dependency for building the
crt*.o files, because in order to do so you need the target headers and
libs installed, but in order to make and install glibc you need a
working cross gcc, and possibly kernel headers.  You can either cheat
and just copy over the target specific files from the linux system, or
do something like use the 'sanitized' headers that the crosstool script
uses.  This will all be explained to you in the crossgcc mailing list
which is where you should ask your question, because this really is not
a Cygwin-related topic.

About whether the instructions on the wiki are any good, I have no
idea.  It's not something that this list supports.

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