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]

Compiling glibc or newlib for sh-elf or sh4 target


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


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