Licenses

Compiler
   The FreeBASIC compiler (fbc) is released under the GPL license.

Libraries
   With the exception of LibFFI (which is used for ThreadCall), the runtime 
   library (libfb) is released under the LGPL license, for both the 
   single-threaded and multi-threaded versions, with this extension to 
   allow linking to it statically:

   "As a special exception, the copyright holders of this library give you 
   permission to link this library with independent modules to produce an 
   executable, regardless of the license terms of these independent 
   modules, and to copy and distribute the resulting executable under terms 
   of your choice, provided that you also meet, for each linked independent 
   module, the terms and conditions of the license of that module. An 
   independent module is a module which is not derived from or based on 
   this library. If you modify this library, you may extend this exception 
   to your version of the library, but you are not obligated to do so. If 
   you do not wish to do so, delete this exception statement from your 
   version."

   The Gfx library (libfbgfx) is released under the LGPL license.

   LibFFI is released under the following license, found at 
   http://github.com/atgreen/libffi/blob/master/LICENSE:

   libffi - Copyright (c) 1996-2011 Anthony Green, Red Hat, Inc And others.
   See source files For details.

   Permission Is hereby granted, free of charge, To Any person obtaining
   a copy of This software And associated documentation files (the
   ``Software''), to deal in the Software without restriction, including
   without limitation the rights To use, copy, modify, merge, publish,
   distribute, sublicense, And/Or sell copies of the Software, And To
   permit persons To whom the Software Is furnished To Do so, subject To
   the following conditions:

   The above copyright notice And This permission notice shall be
   included in all copies Or substantial portions of the Software.

   THE SOFTWARE Is PROVIDED ``As Is'', WITHOUT WARRANTY OF ANY KIND,
   EXPRESS Or IMPLIED, INCLUDING BUT Not LIMITED To THE WARRANTIES OF
   MERCHANTABILITY, FITNESS For A PARTICULAR PURPOSE And NONINFRINGEMENT.
   IN NO Event SHALL THE AUTHORS Or COPYRIGHT HOLDERS BE LIABLE For Any
   CLAIM, DAMAGES Or OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
   TORT Or OTHERWISE, ARISING FROM, Out OF Or IN CONNECTION With THE
   SOFTWARE Or THE USE Or OTHER DEALINGS IN THE SOFTWARE.

Documentation
   The documentation is released under the GFDL license.

