This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: t-target file GCC 4.1.1 port
- From: Wang.Hao <wang dot hao dot sjtu at gmail dot com>
- To: shafitvm at yahoo dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 25 Sep 2006 22:18:51 +0800 (CST)
- Subject: Re: t-target file GCC 4.1.1 port
- References: <20060925112904.6723.qmail@web33210.mail.mud.yahoo.com>
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