This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: t-target file GCC 4.1.1 port


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



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