t-target file GCC 4.1.1 port
Wang.Hao
wang.hao.sjtu@gmail.com
Mon Sep 25 15:22:00 GMT 2006
From: Mohamed Shafi <shafitvm@yahoo.com>
Subject: t-target file GCC 4.1.1 port
Date: Mon, 25 Sep 2006 04:29:04 -0700 (PDT)
> Hai everyone,
>
> I am trying to port GCC 4.1.1 for my target.
> My target doesn't support float variables.
> It does'nt have the hardware to support or recongnize float formats.
>
> With this in mind do i need to add Floating point emulation support in t-target file by
> providing
>
> # We want fine grained libraries, so use the new code
> # to build the floating point emulation libraries.
> FPBIT = fp-bit.c
> DPBIT = dp-bit.c
>
> fp-bit.c: $(srcdir)/config/fp-bit.c
> echo ’#define FLOAT’ > fp-bit.c
> cat $(srcdir)/config/fp-bit.c >> fp-bit.c
>
> dp-bit.c: $(srcdir)/config/fp-bit.c
> cat $(srcdir)/config/fp-bit.c > dp-bit.c
>
>
> Can someone help me?
>
> Regards,
> Shafi.
>
>
It seemed that your answer lies in newlib.
I tried them on ARM7TDMI, and some of them works.
Good luck
Regards
Wang Hao
More information about the Gcc
mailing list