Compiling glibc or newlib for sh-elf or sh4 target

Matriark TerVel matriark@realgamers.net
Tue Jul 30 05:05:00 GMT 2002


Hello All,

I was wondering if it would be possible to compile glibc or newlib for an sh-elf target and how one would go about it. (I want to build it as a cross-compiler for the Hitachi SH4).

I can build binutils 2.11.2 and gcc (only gcc due to the missing header files provided by glibc/newlib) fine. (I wanted to use KOS and read in the readme that i needed an sh-elf targeted version of gcc)
 
[root@localhost gnu]# sh-elf-gcc -v
Reading specs from /usr/dreamcast/compiler-elf/lib/gcc-lib/sh-elf/2.95.2/specs
gcc version 2.95.2 19991024 (release)
[root@localhost gnu]# sh-elf-ld -v
GNU ld version 2.11.2 (with BFD 2.11.2)
[root@localhost gnu]# 

Any help is apreciated...

Thanks,

Matriark TerVel


------
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