This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

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


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
executable.)

[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


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