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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Steve Graham" 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: References: <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" 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/