This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Help w/ gcc cross build failing


I'm not sure I understand how to use newlib per your suggestion (I've never built GCC before)... The build is failing in the bootstrap target of the
actual crosscompiler build - I'm not building genmodes.o for use on the final powerpc target, I'm still trying to bootstrap GCC 3.4.1 and build the
crosscompiler itself. 

The crossgcc/GCC FAQs & web sites I've read say to 1) build the bin-utils 
(for the target), 2) the compiler (GCC), and 3) build newlib or glibc for 
my target. I'm still on step 2.

Do you mean that I need to build newlib for a cygwin PC host/target and then 
before build GCC 3.4.1 (I would have to reconfigure/rebuild everything)?

Thanks,

Jon Watson


-----Original Message-----
From: Dan Kegel [mailto:dank@kegel.com]
Sent: Thursday, August 26, 2004 9:18 AM
To: Jon Watson
Cc: crossgcc@sources.redhat.com
Subject: Re: Help w/ gcc cross build failing


Jon Watson wrote:
> I'm trying to build a GCC 3.4.1 crosscompiler hosted on a Win2K PC (building under Cygwin) with a
> powerpc-*-eabi target (need to support PPC750, PPC74xx, MPC82xx, & MPC85xx). When I looked on 
> the GCC 3.4 project web site it didn't appear that anyone else has reported building the powerpc-*-eabi.
> 
> I've already built the bin-utils (2.14) for powerpc-eabi and they appear to be working. 
> 
> When I build GCC I get an error building genmodes.o. The error from xgcc appears to be that it can't find
> stdio.h and several other headers that are included by ...\gcc-3.4.1\gcc\system.h. What isn't clear to me
> is which version of stdio.h *should* be used. 

I suspect you want newlib.
- Dan


-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]