delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/16/12:01:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: "Steve Graham" <srg AT dsl DOT pipex DOT com>
Subject: Re: GCC 3.2.2 Cygwin to i386-elf cross compiler
Date: Sun, 16 Mar 2003 17:02:25 -0000
Lines: 77
Message-ID: <b52akc$upq$1@main.gmane.org>
References: <b5245f$bpa$1 AT main DOT gmane DOT org> <01ae01c2ebd1$af2624c0$78d96f83 AT pomello>
X-Complaints-To: usenet AT main DOT gmane DOT org
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Ok, lets try that again.

I am about to write the Kernel for an operating system that I am writing and
I would like to use the GCC on cygwin, but I need to output ELF files rather
than PE. I have never tried to compile GCC before and I am having a problem
getting it to build.

I have tried going step by step through the GCC Installation Manual but when
building GCC full distribution I get this error:

[i386.o] Error 1
[make-all] Error 2

and make quits.

I have also tried simply:
./configure --target=i386-elf
make

and got the same error.

What am I doing wrong?

I have made many google seaches and I can't find any sources on making
cross-compilers on Cygwin, if you know of any good resouces please could you
let me know.

I am running Cygwin Release 1.3.21-1 On Windows XP Profesional and I am
trying to install gcc 3.2.2.

Thank you for your time
Steven Graham









"Max Bowsher" <maxb AT ukf DOT net> wrote in message
news:01ae01c2ebd1$af2624c0$78d96f83 AT pomello...
> Steve Graham wrote:
> > Hi
> >
> > I am using GCC in cygwin and I want' to prorgams based on the i386-elf
> > format like in linux. I am having troubles building it though
> >
> > I have tried
> >
> > binutils:
> > ./configure --target=i386-elf
> > make
> > make install
> > OK
> >
> > GCC whole distribution:
> > ./configure --target=i386-elf
> > make
> >
> > But when building GCC I just get Error 2 on i386.o
> > then it exits with Error 1.
> >
> > How do I build a cross compiler from cygwin to elf, what am I doing
> > wrong?
>
> Providing far far too little info for anyone to help.
>
> Read http://cygwin.com/bugs.html and the "smart questions" link from
there.
>
> Max.
>
>




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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