Where are _modsi3.c and/or _modsi3.o?

Doug Evans dje@transmeta.com
Mon Jun 26 10:33:00 GMT 2000

Jeff Bevis writes:
 > If the math functions are part of libgcc, then can we use this source to 
 > build libraries that are used for our product?  I am sure that my employer 
 > would not allow me to release source code to the public.  Thus, I am 
 > concerned about the GPL.  The library sources are covered by that, and if 
 > we build libraries from that source and it goes into our product, aren't we 
 > violating the conditions of the GPL?

Good question.  While libgcc is _not_ GPL'd (it's GPL + exception),
the exception doesn't grant unlimited use.  Alas, IANAL so I'm not
sure you can use it or not.  You _can_ use it if all you're doing is
linking the file into your program.  But if wish to take the sources and
hack on them to create your own fp emulation library or add it to
your own library, you may be (probably are) out of luck.

Here's the exception, btw:
In addition to the permissions in the GNU General Public License, the
Free Software Foundation gives you unlimited permission to link the
compiled version of this file into combinations with other programs,
and to distribute those combinations without any restriction coming
from the use of this file.  (The General Public License restrictions
do apply in other respects; for example, they cover modification of
the file, and distribution when not linked into a combine

[btw, I'm assuming you're refering to the functions that fp-bit.c
provides, rather than libm.  You did say "FP math emulation library".]

Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

More information about the crossgcc mailing list