I tried using libfp.a by using the -lfp option when linking and I even added
-Wl,-L<prefix>/msp430/lib/msp1 to make sure it finds libfp.c.  I'm sure it's
finding libfp.c because it doesn't complain about the -lfp but if I misspell
it (eg -lffp) it complains.  

My problem is that I get the same binary out with the -lfp option as with
out it.  I have even tried -nodefaultlibs along with my other two options
and it complains that it cannot find __mulsf3 and some other FP functions.  

Upon disassembly of libfp.a I see all the function that the linker is
claiming not to find so I know they are there.  

I read a post in the mailing list archive that implied that all you needed
was a -lfp.  Am I still missing something?

-Chris Takahashi


-----Original Message-----
From: Dmitry [mailto:di...@mail.ru]
Sent: Friday, July 25, 2003 2:54 AM
To: mspgcc-users@lists.sourceforge.net
Subject: Re: [Mspgcc-users] Floating point Alternatives?


check libfp which is available in msp430-libc
~d

On Thursday 24 July 2003 20:44, Takahashi, Chris wrote:
> Hi all,
>
> I was wondering if there are any alternatives to the current FP functions
> in Libc?  Looking at the code size for floating point functions in libc
> versus the functions in IAR (1.26A) I get a considerable difference with
> gcc coming out almost 3 times larger with the libs that are imported.  One
> example is _fpmul_parts is 542 bytes (gcc) while ?F_MUL_L04 is 120 bytes
> (IAR).  It is my understanding that this is because GCC implements FP math
> with strict attention to IEEE spec.  This is good for some applications
and
> Bad for others.  In our application ROM space is of utmost importance and
> as long as the math comes out to within a certain percent error it is
fine.
>  Is there an alternative which would allow us to use smaller but possibly
> non IEEE strict FP code?
>
> Thanks for all the help!
>
>
> -Chris Takahashi
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
/*****************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild     UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  State Polytechnical Univ.
      (_Y_.)'  ._   )  `._ `. ``-..-'   Radio-Physics Departament
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,  Russia
   (il),-''  (li),'  ((!.-'             +7 (812) 5403923, 5585314
 *****************************************************************/



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to