SWIG image
Home Development Mailing Lists Bugs and Patches
Information
What is SWIG?
Compatibility
Features
Tutorial
Documentation
News
The Bleeding Edge
History
Guilty Parties
Projects
Legal Department
Links
Download
SwigWiki
Donate
Affiliations
Software Freedom Conservancy logo
Our Generous Host
Get SWIG at SourceForge.net. Fast, secure and Free Open Source software downloads
Exits
AllegroCL
C# - Mono
C# - MS .NET
CFFI
CHICKEN
CLISP
D
Go language
Guile
Java
Javascript - Node.js
Javascript - V8
Javascript - WebKit
Lua
MzScheme/Racket
Ocaml
Octave
Perl
PHP
Python
R
Ruby
Tcl/Tk
Legal Talk

IMPORTANT: The following represents the intent of the SWIG developers with regard to how SWIG is licensed to the public. This is not legal advice; if there are any specific questions about how SWIG's license applies to your use, please seek legal counsel.

The intention of the SWIG license is to ensure that the SWIG source code (the code that is compiled into the SWIG executable) remains free software by using the GPL license on the SWIG source code. SWIG is a code generator and the intention of the SWIG license is also to enable distribution of the output code under license terms of the user's choice/requirements.

The full license is available in the following files:

When SWIG is used as it is distributed by the SWIG developers, its output is not governed by SWIG's license (including the GPL). SWIG's output contains code from three sources:

  • code generated by SWIG, which is not governed by copyright;
  • code copied from the SWIG library which is permissively licensed to be redistributed without restriction;
  • code derived from the user's input, which may be governed by the license of the code supplied by the user.

So, while the input supplied to SWIG may affect the license of SWIG's output (e.g. if the input code is licensed under a copyleft or proprietary license), SWIG's license does not affect the license of the output. This is consistent with the FSF's FAQ entries on this subject (GPLOutput and WhatCaseIsOutputGPL), because the SWIG code copied into the output by SWIG is not GPL-licensed.


Feedback and questions concerning this site should be posted to the swig-devel mailing list.

Last modified : Wed May 1 21:11:40 2013