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] |
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
>
Attachment:
build-xgcc-mcore.bash
Description: Binary data
Attachment:
build-gdb-mcore.bash
Description: Binary data
------ 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] |