On Wed, 26 Feb 2003 13:43:23, Ben Combee writes:
>>AFAIK, there isn't a shared library mechanism for armlets, required
>>for MathLib which is a LGPL'd library.  But the functions in the Sun
>>fdlibm library (the same code without the library license) might
>>work with very little modification.
>
>No, but it would be pretty easy to add an ARMlet to a 68K shared
>library with stub routines that did PceNativeCall's to a locked ARMlet 
>resource.  You could lock the resource in the lib open routine and unlock 
>it in the close.  I think this is what the ARMlet port of SysZLib.prc does.

This would have to be done with the arm-elf-gcc toolchain, because
the Codewarrior v9 toolchain appears to statically link all armlet
floating point operations with a closed source fp library.  However
the arm-elf-gcc toolchain appears to compile fp traps, which seem
to be around 2x to 4x slower than using fp library calls.  So the
fdlibm solution would still perform significantly better.


IMHO. YMMV.

Ron Nicholson
HotPaw Productions
 <http://www.hotpaw.com/rhn/hotpaw> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to