<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2655.19">
<TITLE>RE: problem with crosscompiler for powerpc</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Uwe,</FONT>
</P>

<P><FONT SIZE=2>I put together these scripts to build mcore-elf tools under Cygwin, but I have found that if you change the TARGET parameter to powerpc-eabi (and modify the PREFIX if you want) it builds binutils, newlib, a C-compiler and gdb for the powerpc.  </FONT></P>

<P><FONT SIZE=2>I'll be interested to know if anyone has any success with these powerpc tools.  I haven't had a chance to test them yet, because I'm just finishing up a gdb stub for mcore-elf.  Next in line will be a gdb stub for the MPC555/56x.</FONT></P>

<P><FONT SIZE=2>I found out today that the scripts also work on Linux (Mandrake 8.2, if that matters) and they run a LOT faster than Cygwin.</FONT></P>

<P><FONT SIZE=2>You'll have to put the sources here:</FONT>
</P>

<P><FONT SIZE=2>~/src/gcc        <-  gcc-core-3.1.tar.bz2</FONT>
<BR><FONT SIZE=2>~/src/binutils   <-  binutils-2.12.1.tar.bz2</FONT>
<BR><FONT SIZE=2>~/src/newlib     <-  newlib-1.10.0.tar.gz</FONT>
<BR><FONT SIZE=2>~/src/gdb        <-  gdb-5.2.tar.bz2</FONT>
</P>

<P><FONT SIZE=2>Sorry about the hardwired parameters.  I'm not advanced enough in my script writing to make it all automatic.</FONT>
</P>

<P><FONT SIZE=2>I hope you find this useful.</FONT>
</P>

<P><FONT SIZE=2>Best regards</FONT>
<BR><FONT SIZE=2>Brian LaPonsey</FONT>
<BR><FONT SIZE=2>brian.laponsey@motorola.com</FONT>
</P>

<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: Uwe Becker [<A HREF="mailto:uwe.becker@muefa.de">mailto:uwe.becker@muefa.de</A>]</FONT>
<BR><FONT SIZE=2>> Sent: 02 July 2002 17:20</FONT>
<BR><FONT SIZE=2>> To: crossgcc@sources.redhat.com</FONT>
<BR><FONT SIZE=2>> Subject: problem with crosscompiler for powerpc</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Hi,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I've got a problem when I try to generate a cross compiler gcc3.1 for</FONT>
<BR><FONT SIZE=2>> powerpc-unknown-eabi under a cygwin environment. The compiler fails</FONT>
<BR><FONT SIZE=2>> compiling regex.c of the libiberty directory. There is a huge lot of</FONT>
<BR><FONT SIZE=2>> "dereferencing pointer to incomplete type" and a "storage size of</FONT>
<BR><FONT SIZE=2>> 're_comp_buf' isn't known" message.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> (By the way: It worked compiling gcc3.1 under cygwin for cygwin)</FONT>
<BR><FONT SIZE=2>> Does anyone know help or even have a gcc > 2.95 for </FONT>
<BR><FONT SIZE=2>> powerpc-unknown-eabi?</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Thanks for your help</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Uwe Becker</FONT>
<BR><FONT SIZE=2>> E-Mail: uwe.becker@muefa.de</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> ------</FONT>
<BR><FONT SIZE=2>> Want more information?  See the CrossGCC FAQ, </FONT>
<BR><FONT SIZE=2>> <A HREF="http://www.objsw.com/CrossGCC/" TARGET="_blank">http://www.objsw.com/CrossGCC/</A></FONT>
<BR><FONT SIZE=2>> Want to unsubscribe? Send a note to </FONT>
<BR><FONT SIZE=2>> crossgcc-unsubscribe@sources.redhat.com</FONT>
<BR><FONT SIZE=2>> </FONT>
</P>

<P><FONT FACE="Arial" SIZE=2 COLOR="#000000"></FONT><FONT FACE="Arial" SIZE=2 COLOR="#000000"></FONT> 

</BODY>
</HTML>