At 15:42 2003-2-5 -0800, you wrote:
Scratch that.  The headers included with the current Mathlib source are GPL.
You'll have to write you own headers to use the library.
Wrong. The LGPL allows use of headers and small macros/inline functions in a non-GPL program without causing the calling program to become a "derived work".

To quote LGPL 2:

If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)

This would cover the use of MathLib.h for the purpose of calling MathLib from a non-GPL/LGPL program.

How this covers MathLib.c, the routine that provides stubs for MathLib is unsure. I am fairly sure that Rick Huebner intended for this file to be freely usable, with only the real math code in the shared library being protected, but the actual boilerplate header at the top of this file contradicts that. I've sent a mail off to Rick to see if he concurs with this and will relicense that one file.

In the meantime, you should be safe calling the library, but using the stubs in your app is done at peril.


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com

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


Reply via email to