Compiling glibc or newlib for sh-elf or sh4 target
Matriark TerVel
matriark@realgamers.net
Tue Jul 30 16:22:00 GMT 2002
Thank you all for your help. I built newlib with the directions on kpit.com, and gcc thereafter.
Matriark TerVel
On Tue, 30 Jul 2002 08:23:28 -0500
"William A. Gatliff" <bgat@billgatliff.com> wrote:
> Matriark:
>
>
> There's a Wiki topic about building an elf toolchain at:
>
> http://billgatliff.com/twiki/bin/view/Crossgcc/ToolSetup
>
> There's an article for the arm-elf target, which also works for sh-elf:
>
> http://billgatliff.com/twiki/bin/view/Crossgcc/TutorialArmElf
>
> I've never tried it with KOS, but I have built newlib and integrated
> it with uC/OS (which should be a similar experience):
>
> http://billgatliff.com/articles/newlib/newlib/index.html
>
>
>
> b.g.
>
>
> On Tue, Jul 30, 2002 at 05:53:38PM +0530, Shrinivas Atre wrote:
> > Hi,
> > Pre-built Hitachi SH and H8 tool chains are available at http://www.kpit.com/products/support.htm
> > If you want to build tool chain (including newlib ) there is FAQ at
> > http://www.kpit.com/products/faqsh.htm
> > about building tool chain.
> > Hope this helps.
> > Cheers
> > Shrinivas
> >
> > -----------------------------------------------------------------------------
> > Free download of GNUSH and GNUH8 tool chains for Hitachi's SH and H8 Series.
> > The following site also offers free support to European customers.
> > Read more at http://www.kpit.com/products/support.htm
> > Latest versions of GNUSH and GNUH8 are released on July 1, 2002.
> > -----------------------------------------------------------------------------
> >
> > > -----Original Message-----
> > > From: Matriark TerVel [mailto:matriark@realgamers.net]
> > > Sent: Tuesday, July 30, 2002 5:29 PM
> > > To: crossgcc@sources.redhat.com
> > > Subject: 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
> >
> >
> > ------
> > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
> >
>
> --
> Bill Gatliff
> bgat@billgatliff.com
>
>
------
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