problem with crosscompiler for powerpc
LaPonsey Brian-ra4951
Brian.Laponsey@motorola.com
Tue Jul 16 08:45:00 GMT 2002
Uwe,
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.
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.
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.
You'll have to put the sources here:
~/src/gcc <- gcc-core-3.1.tar.bz2
~/src/binutils <- binutils-2.12.1.tar.bz2
~/src/newlib <- newlib-1.10.0.tar.gz
~/src/gdb <- gdb-5.2.tar.bz2
Sorry about the hardwired parameters. I'm not advanced enough in my script writing to make it all automatic.
I hope you find this useful.
Best regards
Brian LaPonsey
brian.laponsey@motorola.com
> -----Original Message-----
> From: Uwe Becker [mailto:uwe.becker@muefa.de]
> Sent: 02 July 2002 17:20
> To: crossgcc@sources.redhat.com
> Subject: problem with crosscompiler for powerpc
>
>
> Hi,
>
> I've got a problem when I try to generate a cross compiler gcc3.1 for
> powerpc-unknown-eabi under a cygwin environment. The compiler fails
> compiling regex.c of the libiberty directory. There is a huge lot of
> "dereferencing pointer to incomplete type" and a "storage size of
> 're_comp_buf' isn't known" message.
>
> (By the way: It worked compiling gcc3.1 under cygwin for cygwin)
> Does anyone know help or even have a gcc > 2.95 for
> powerpc-unknown-eabi?
>
> Thanks for your help
>
> Uwe Becker
> E-Mail: uwe.becker@muefa.de
>
>
> ------
> Want more information? See the CrossGCC FAQ,
> http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
> crossgcc-unsubscribe@sources.redhat.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20020716/d6227c6a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-xgcc-mcore.bash
Type: application/octet-stream
Size: 2898 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20020716/d6227c6a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-gdb-mcore.bash
Type: application/octet-stream
Size: 712 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20020716/d6227c6a/attachment-0003.obj>
-------------- next part --------------
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list