components/swig/test/results-64.master
author Rich Burridge <rich.burridge@oracle.com>
Tue, 10 Feb 2015 14:45:29 -0800
changeset 3761 7eba66b644d2
child 3808 93f1c7645ce7
permissions -rw-r--r--
20461180 SWIG should have some master test results to compare against
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3761
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
make[1]: Entering directory `$(@D)'
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
test -x ./swig
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
./swig -version
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
SWIG Version 2.0.8
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
Compiled with $(CXX)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
Configured options: +pcre
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
Please see http://www.swig.org for reporting bugs and further information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
./swig -help
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
Target Language Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
     -allegrocl      - Generate ALLEGROCL wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
     -chicken        - Generate CHICKEN wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
     -clisp          - Generate CLISP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
     -cffi           - Generate CFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
     -csharp         - Generate C# wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
     -d              - Generate D wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
     -go             - Generate Go wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
     -guile          - Generate Guile wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
     -java           - Generate Java wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
     -lua            - Generate Lua wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
     -modula3        - Generate Modula 3 wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
     -mzscheme       - Generate Mzscheme wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
     -ocaml          - Generate Ocaml wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
     -octave         - Generate Octave wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
     -perl           - Generate Perl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
     -php            - Generate PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
     -pike           - Generate Pike wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
     -python         - Generate Python wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
     -r              - Generate R (aka GNU S) wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
     -ruby           - Generate Ruby wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
     -sexp           - Generate Lisp S-Expressions wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
     -tcl            - Generate Tcl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
     -uffi           - Generate Common Lisp / UFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
     -xml            - Generate XML wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
General Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
     -addextern      - Add extra extern declarations
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
     -c++            - Enable C++ processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
     -co <file>      - Check <file> out of the SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
     -copyctor       - Automatically generate copy constructors wherever possible
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
     -cpperraswarn   - Treat the preprocessor #error statement as #warning (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
     -copyright      - Display copyright notices
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
     -debug-classes  - Display information about the classes found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
     -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
     -debug-symtabs  - Display symbol tables information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
     -debug-symbols  - Display target language symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
     -debug-csymbols - Display C symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
     -debug-lsymbols - Display target language layer symbols
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
     -debug-tags     - Display information about the tags found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
     -debug-template - Display information for debugging templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
     -debug-top <n>  - Display entire parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
     -debug-typedef  - Display information about the types and typedefs in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
     -debug-typemap  - Display typemap debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
     -debug-tmsearch - Display typemap search debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
     -debug-tmused   - Display typemaps used debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
     -directors      - Turn on director mode for all the classes, mainly for testing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
     -dirprot        - Turn on wrapping of protected members for director classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
     -D<symbol>      - Define a symbol <symbol> (for conditional compilation)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
     -E              - Preprocess only, does not generate wrapper code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
     -external-runtime [file] - Export the SWIG runtime stack
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    64
     -fakeversion <v>- Make SWIG fake the program version number to <v>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    65
     -fcompact       - Compile in compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    66
     -features <list>- Set global features, where <list> is a comma separated list of
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    67
                       features, eg -features directors,autodoc=1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    68
                       If no explicit value is given to the feature, a default of 1 is used
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    69
     -fastdispatch   - Enable fast dispatch mode to produce faster overload dispatcher code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    70
     -Fmicrosoft     - Display error/warning messages in Microsoft format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    71
     -Fstandard      - Display error/warning messages in commonly used format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    72
     -fvirtual       - Compile in virtual elimination mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    73
     -help           - This output
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    74
     -I-             - Don't search the current directory
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    75
     -I<dir>         - Look for SWIG files in directory <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    76
     -ignoremissing  - Ignore missing include files
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    77
     -importall      - Follow all #include statements as imports
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    78
     -includeall     - Follow all #include statements
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    79
     -l<ifile>       - Include SWIG library file <ifile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    80
     -macroerrors    - Report errors inside macros
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    81
     -makedefault    - Create default constructors/destructors (the default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    82
     -M              - List all dependencies
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    83
     -MD             - Is equivalent to `-M -MF <file>', except `-E' is not implied
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    84
     -MF <file>      - Generate dependencies into <file> and continue generating wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    85
     -MM             - List dependencies, but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    86
     -MMD            - Like `-MD', but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    87
     -module <name>  - Set module name to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    88
     -MT <target>    - Set the target of the rule emitted by dependency generation
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    89
     -nocontract     - Turn off contract checking
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    90
     -nocpperraswarn - Do not treat the preprocessor #error statement as #warning
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    91
     -nodefault      - Do not generate default constructors nor default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    92
     -nodefaultctor  - Do not generate implicit default constructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    93
     -nodefaultdtor  - Do not generate implicit default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    94
     -nodirprot      - Do not wrap director protected members
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    95
     -noexcept       - Do not wrap exception specifiers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    96
     -nofastdispatch - Disable fast dispatch mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    97
     -nopreprocess   - Skip the preprocessor step
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    98
     -notemplatereduce - Disable reduction of the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    99
     -O              - Enable the optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   100
                        -fastdispatch -fvirtual 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   101
     -o <outfile>    - Set name of the output file to <outfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   102
     -oh <headfile>  - Set name of the output header file to <headfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   103
     -outcurrentdir  - Set default output dir to current dir instead of input file's path
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   104
     -outdir <dir>   - Set language specific files output directory to <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   105
     -pcreversion    - Display PCRE version information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   106
     -small          - Compile in virtual elimination & compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   107
     -swiglib        - Report location of SWIG library and exit
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   108
     -templatereduce - Reduce all the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   109
     -v              - Run in verbose mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   110
     -version        - Display SWIG version number
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   111
     -Wall           - Remove all warning suppression, also implies -Wextra
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   112
     -Wallkw         - Enable keyword warnings for all the supported languages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   113
     -Werror         - Treat warnings as errors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   114
     -Wextra         - Adds the following additional warnings: 202,309,403,512,321,322
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   115
     -w<list>        - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   116
     -xmlout <file>  - Write XML version of the parse tree to <file> after normal processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   117
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   118
Options can also be defined using the SWIG_FEATURES environment variable, for example:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   119
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   120
  $ SWIG_FEATURES="-Wall"
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   121
  $ export SWIG_FEATURES
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   122
  $ swig -python interface.i
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   123
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   124
is equivalent to: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   125
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   126
  $ swig -Wall -python interface.i 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   127
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   128
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   129
Tcl 8 Options (available with -tcl)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   130
     -itcl           - Enable ITcl support
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   131
     -nosafe         - Leave out SafeInit module function.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   132
     -prefix <name>  - Set a prefix <name> to be prepended to all names
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   133
     -namespace      - Build module into a Tcl 8 namespace
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   134
     -pkgversion     - Set package version
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   135
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   136
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   137
Note: 'swig -<lang> -help' displays options for a specific target language.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   138
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   139
Target Language Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   140
     -allegrocl      - Generate ALLEGROCL wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   141
     -chicken        - Generate CHICKEN wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   142
     -clisp          - Generate CLISP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   143
     -cffi           - Generate CFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   144
     -csharp         - Generate C# wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   145
     -d              - Generate D wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   146
     -go             - Generate Go wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   147
     -guile          - Generate Guile wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   148
     -java           - Generate Java wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   149
     -lua            - Generate Lua wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   150
     -modula3        - Generate Modula 3 wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   151
     -mzscheme       - Generate Mzscheme wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   152
     -ocaml          - Generate Ocaml wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   153
     -octave         - Generate Octave wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   154
     -perl           - Generate Perl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   155
     -php            - Generate PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   156
     -pike           - Generate Pike wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   157
     -python         - Generate Python wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   158
     -r              - Generate R (aka GNU S) wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   159
     -ruby           - Generate Ruby wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   160
     -sexp           - Generate Lisp S-Expressions wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   161
     -tcl            - Generate Tcl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   162
     -uffi           - Generate Common Lisp / UFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   163
     -xml            - Generate XML wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   164
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   165
General Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   166
     -addextern      - Add extra extern declarations
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   167
     -c++            - Enable C++ processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   168
     -co <file>      - Check <file> out of the SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   169
     -copyctor       - Automatically generate copy constructors wherever possible
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   170
     -cpperraswarn   - Treat the preprocessor #error statement as #warning (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   171
     -copyright      - Display copyright notices
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   172
     -debug-classes  - Display information about the classes found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   173
     -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   174
     -debug-symtabs  - Display symbol tables information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   175
     -debug-symbols  - Display target language symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   176
     -debug-csymbols - Display C symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   177
     -debug-lsymbols - Display target language layer symbols
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   178
     -debug-tags     - Display information about the tags found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   179
     -debug-template - Display information for debugging templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   180
     -debug-top <n>  - Display entire parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   181
     -debug-typedef  - Display information about the types and typedefs in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   182
     -debug-typemap  - Display typemap debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   183
     -debug-tmsearch - Display typemap search debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   184
     -debug-tmused   - Display typemaps used debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   185
     -directors      - Turn on director mode for all the classes, mainly for testing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   186
     -dirprot        - Turn on wrapping of protected members for director classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   187
     -D<symbol>      - Define a symbol <symbol> (for conditional compilation)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   188
     -E              - Preprocess only, does not generate wrapper code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   189
     -external-runtime [file] - Export the SWIG runtime stack
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   190
     -fakeversion <v>- Make SWIG fake the program version number to <v>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   191
     -fcompact       - Compile in compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   192
     -features <list>- Set global features, where <list> is a comma separated list of
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   193
                       features, eg -features directors,autodoc=1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   194
                       If no explicit value is given to the feature, a default of 1 is used
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   195
     -fastdispatch   - Enable fast dispatch mode to produce faster overload dispatcher code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   196
     -Fmicrosoft     - Display error/warning messages in Microsoft format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   197
     -Fstandard      - Display error/warning messages in commonly used format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   198
     -fvirtual       - Compile in virtual elimination mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   199
     -help           - This output
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   200
     -I-             - Don't search the current directory
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   201
     -I<dir>         - Look for SWIG files in directory <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   202
     -ignoremissing  - Ignore missing include files
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   203
     -importall      - Follow all #include statements as imports
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   204
     -includeall     - Follow all #include statements
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   205
     -l<ifile>       - Include SWIG library file <ifile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   206
     -macroerrors    - Report errors inside macros
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   207
     -makedefault    - Create default constructors/destructors (the default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   208
     -M              - List all dependencies
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   209
     -MD             - Is equivalent to `-M -MF <file>', except `-E' is not implied
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   210
     -MF <file>      - Generate dependencies into <file> and continue generating wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   211
     -MM             - List dependencies, but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   212
     -MMD            - Like `-MD', but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   213
     -module <name>  - Set module name to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   214
     -MT <target>    - Set the target of the rule emitted by dependency generation
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   215
     -nocontract     - Turn off contract checking
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   216
     -nocpperraswarn - Do not treat the preprocessor #error statement as #warning
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   217
     -nodefault      - Do not generate default constructors nor default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   218
     -nodefaultctor  - Do not generate implicit default constructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   219
     -nodefaultdtor  - Do not generate implicit default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   220
     -nodirprot      - Do not wrap director protected members
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   221
     -noexcept       - Do not wrap exception specifiers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   222
     -nofastdispatch - Disable fast dispatch mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   223
     -nopreprocess   - Skip the preprocessor step
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   224
     -notemplatereduce - Disable reduction of the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   225
     -O              - Enable the optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   226
                        -fastdispatch -fvirtual 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   227
     -o <outfile>    - Set name of the output file to <outfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   228
     -oh <headfile>  - Set name of the output header file to <headfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   229
     -outcurrentdir  - Set default output dir to current dir instead of input file's path
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   230
     -outdir <dir>   - Set language specific files output directory to <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   231
     -pcreversion    - Display PCRE version information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   232
     -small          - Compile in virtual elimination & compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   233
     -swiglib        - Report location of SWIG library and exit
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   234
     -templatereduce - Reduce all the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   235
     -v              - Run in verbose mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   236
     -version        - Display SWIG version number
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   237
     -Wall           - Remove all warning suppression, also implies -Wextra
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   238
     -Wallkw         - Enable keyword warnings for all the supported languages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   239
     -Werror         - Treat warnings as errors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   240
     -Wextra         - Adds the following additional warnings: 202,309,403,512,321,322
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   241
     -w<list>        - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   242
     -xmlout <file>  - Write XML version of the parse tree to <file> after normal processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   243
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   244
Options can also be defined using the SWIG_FEATURES environment variable, for example:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   245
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   246
  $ SWIG_FEATURES="-Wall"
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   247
  $ export SWIG_FEATURES
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   248
  $ swig -python interface.i
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   249
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   250
is equivalent to: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   251
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   252
  $ swig -Wall -python interface.i 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   253
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   254
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   255
Tcl 8 Options (available with -tcl)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   256
     -itcl           - Enable ITcl support
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   257
     -nosafe         - Leave out SafeInit module function.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   258
     -prefix <name>  - Set a prefix <name> to be prepended to all names
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   259
     -namespace      - Build module into a Tcl 8 namespace
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   260
     -pkgversion     - Set package version
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   261
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   262
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   263
Note: 'swig -<lang> -help' displays options for a specific target language.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   264
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   265
Target Language Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   266
     -allegrocl      - Generate ALLEGROCL wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   267
     -chicken        - Generate CHICKEN wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   268
     -clisp          - Generate CLISP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   269
     -cffi           - Generate CFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   270
     -csharp         - Generate C# wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   271
     -d              - Generate D wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   272
     -go             - Generate Go wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   273
     -guile          - Generate Guile wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   274
     -java           - Generate Java wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   275
     -lua            - Generate Lua wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   276
     -modula3        - Generate Modula 3 wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   277
     -mzscheme       - Generate Mzscheme wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   278
     -ocaml          - Generate Ocaml wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   279
     -octave         - Generate Octave wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   280
     -perl           - Generate Perl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   281
     -php            - Generate PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   282
     -pike           - Generate Pike wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   283
     -python         - Generate Python wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   284
     -r              - Generate R (aka GNU S) wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   285
     -ruby           - Generate Ruby wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   286
     -sexp           - Generate Lisp S-Expressions wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   287
     -tcl            - Generate Tcl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   288
     -uffi           - Generate Common Lisp / UFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   289
     -xml            - Generate XML wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   290
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   291
General Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   292
     -addextern      - Add extra extern declarations
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   293
     -c++            - Enable C++ processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   294
     -co <file>      - Check <file> out of the SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   295
     -copyctor       - Automatically generate copy constructors wherever possible
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   296
     -cpperraswarn   - Treat the preprocessor #error statement as #warning (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   297
     -copyright      - Display copyright notices
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   298
     -debug-classes  - Display information about the classes found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   299
     -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   300
     -debug-symtabs  - Display symbol tables information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   301
     -debug-symbols  - Display target language symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   302
     -debug-csymbols - Display C symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   303
     -debug-lsymbols - Display target language layer symbols
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   304
     -debug-tags     - Display information about the tags found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   305
     -debug-template - Display information for debugging templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   306
     -debug-top <n>  - Display entire parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   307
     -debug-typedef  - Display information about the types and typedefs in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   308
     -debug-typemap  - Display typemap debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   309
     -debug-tmsearch - Display typemap search debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   310
     -debug-tmused   - Display typemaps used debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   311
     -directors      - Turn on director mode for all the classes, mainly for testing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   312
     -dirprot        - Turn on wrapping of protected members for director classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   313
     -D<symbol>      - Define a symbol <symbol> (for conditional compilation)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   314
     -E              - Preprocess only, does not generate wrapper code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   315
     -external-runtime [file] - Export the SWIG runtime stack
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   316
     -fakeversion <v>- Make SWIG fake the program version number to <v>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   317
     -fcompact       - Compile in compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   318
     -features <list>- Set global features, where <list> is a comma separated list of
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   319
                       features, eg -features directors,autodoc=1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   320
                       If no explicit value is given to the feature, a default of 1 is used
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   321
     -fastdispatch   - Enable fast dispatch mode to produce faster overload dispatcher code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   322
     -Fmicrosoft     - Display error/warning messages in Microsoft format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   323
     -Fstandard      - Display error/warning messages in commonly used format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   324
     -fvirtual       - Compile in virtual elimination mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   325
     -help           - This output
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   326
     -I-             - Don't search the current directory
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   327
     -I<dir>         - Look for SWIG files in directory <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   328
     -ignoremissing  - Ignore missing include files
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   329
     -importall      - Follow all #include statements as imports
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   330
     -includeall     - Follow all #include statements
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   331
     -l<ifile>       - Include SWIG library file <ifile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   332
     -macroerrors    - Report errors inside macros
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   333
     -makedefault    - Create default constructors/destructors (the default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   334
     -M              - List all dependencies
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   335
     -MD             - Is equivalent to `-M -MF <file>', except `-E' is not implied
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   336
     -MF <file>      - Generate dependencies into <file> and continue generating wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   337
     -MM             - List dependencies, but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   338
     -MMD            - Like `-MD', but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   339
     -module <name>  - Set module name to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   340
     -MT <target>    - Set the target of the rule emitted by dependency generation
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   341
     -nocontract     - Turn off contract checking
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   342
     -nocpperraswarn - Do not treat the preprocessor #error statement as #warning
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   343
     -nodefault      - Do not generate default constructors nor default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   344
     -nodefaultctor  - Do not generate implicit default constructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   345
     -nodefaultdtor  - Do not generate implicit default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   346
     -nodirprot      - Do not wrap director protected members
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   347
     -noexcept       - Do not wrap exception specifiers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   348
     -nofastdispatch - Disable fast dispatch mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   349
     -nopreprocess   - Skip the preprocessor step
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   350
     -notemplatereduce - Disable reduction of the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   351
     -O              - Enable the optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   352
                        -fastdispatch -fvirtual 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   353
     -o <outfile>    - Set name of the output file to <outfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   354
     -oh <headfile>  - Set name of the output header file to <headfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   355
     -outcurrentdir  - Set default output dir to current dir instead of input file's path
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   356
     -outdir <dir>   - Set language specific files output directory to <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   357
     -pcreversion    - Display PCRE version information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   358
     -small          - Compile in virtual elimination & compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   359
     -swiglib        - Report location of SWIG library and exit
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   360
     -templatereduce - Reduce all the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   361
     -v              - Run in verbose mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   362
     -version        - Display SWIG version number
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   363
     -Wall           - Remove all warning suppression, also implies -Wextra
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   364
     -Wallkw         - Enable keyword warnings for all the supported languages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   365
     -Werror         - Treat warnings as errors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   366
     -Wextra         - Adds the following additional warnings: 202,309,403,512,321,322
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   367
     -w<list>        - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   368
     -xmlout <file>  - Write XML version of the parse tree to <file> after normal processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   369
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   370
Options can also be defined using the SWIG_FEATURES environment variable, for example:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   371
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   372
  $ SWIG_FEATURES="-Wall"
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   373
  $ export SWIG_FEATURES
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   374
  $ swig -python interface.i
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   375
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   376
is equivalent to: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   377
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   378
  $ swig -Wall -python interface.i 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   379
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   380
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   381
Perl5 Options (available with -perl5)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   382
     -compat         - Compatibility mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   383
     -const          - Wrap constants as constants and not variables (implies -proxy)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   384
     -cppcast        - Enable C++ casting operators
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   385
     -nocppcast      - Disable C++ casting operators, useful for generating bugs
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   386
     -nopm           - Do not generate the .pm file
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   387
     -noproxy        - Don't create proxy classes
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   388
     -proxy          - Create proxy classes
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   389
     -static         - Omit code related to dynamic loading
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   390
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   391
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   392
Note: 'swig -<lang> -help' displays options for a specific target language.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   393
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   394
Target Language Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   395
     -allegrocl      - Generate ALLEGROCL wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   396
     -chicken        - Generate CHICKEN wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   397
     -clisp          - Generate CLISP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   398
     -cffi           - Generate CFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   399
     -csharp         - Generate C# wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   400
     -d              - Generate D wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   401
     -go             - Generate Go wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   402
     -guile          - Generate Guile wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   403
     -java           - Generate Java wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   404
     -lua            - Generate Lua wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   405
     -modula3        - Generate Modula 3 wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   406
     -mzscheme       - Generate Mzscheme wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   407
     -ocaml          - Generate Ocaml wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   408
     -octave         - Generate Octave wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   409
     -perl           - Generate Perl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   410
     -php            - Generate PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   411
     -pike           - Generate Pike wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   412
     -python         - Generate Python wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   413
     -r              - Generate R (aka GNU S) wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   414
     -ruby           - Generate Ruby wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   415
     -sexp           - Generate Lisp S-Expressions wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   416
     -tcl            - Generate Tcl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   417
     -uffi           - Generate Common Lisp / UFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   418
     -xml            - Generate XML wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   419
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   420
General Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   421
     -addextern      - Add extra extern declarations
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   422
     -c++            - Enable C++ processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   423
     -co <file>      - Check <file> out of the SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   424
     -copyctor       - Automatically generate copy constructors wherever possible
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   425
     -cpperraswarn   - Treat the preprocessor #error statement as #warning (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   426
     -copyright      - Display copyright notices
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   427
     -debug-classes  - Display information about the classes found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   428
     -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   429
     -debug-symtabs  - Display symbol tables information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   430
     -debug-symbols  - Display target language symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   431
     -debug-csymbols - Display C symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   432
     -debug-lsymbols - Display target language layer symbols
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   433
     -debug-tags     - Display information about the tags found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   434
     -debug-template - Display information for debugging templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   435
     -debug-top <n>  - Display entire parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   436
     -debug-typedef  - Display information about the types and typedefs in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   437
     -debug-typemap  - Display typemap debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   438
     -debug-tmsearch - Display typemap search debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   439
     -debug-tmused   - Display typemaps used debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   440
     -directors      - Turn on director mode for all the classes, mainly for testing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   441
     -dirprot        - Turn on wrapping of protected members for director classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   442
     -D<symbol>      - Define a symbol <symbol> (for conditional compilation)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   443
     -E              - Preprocess only, does not generate wrapper code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   444
     -external-runtime [file] - Export the SWIG runtime stack
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   445
     -fakeversion <v>- Make SWIG fake the program version number to <v>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   446
     -fcompact       - Compile in compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   447
     -features <list>- Set global features, where <list> is a comma separated list of
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   448
                       features, eg -features directors,autodoc=1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   449
                       If no explicit value is given to the feature, a default of 1 is used
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   450
     -fastdispatch   - Enable fast dispatch mode to produce faster overload dispatcher code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   451
     -Fmicrosoft     - Display error/warning messages in Microsoft format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   452
     -Fstandard      - Display error/warning messages in commonly used format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   453
     -fvirtual       - Compile in virtual elimination mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   454
     -help           - This output
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   455
     -I-             - Don't search the current directory
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   456
     -I<dir>         - Look for SWIG files in directory <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   457
     -ignoremissing  - Ignore missing include files
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   458
     -importall      - Follow all #include statements as imports
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   459
     -includeall     - Follow all #include statements
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   460
     -l<ifile>       - Include SWIG library file <ifile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   461
     -macroerrors    - Report errors inside macros
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   462
     -makedefault    - Create default constructors/destructors (the default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   463
     -M              - List all dependencies
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   464
     -MD             - Is equivalent to `-M -MF <file>', except `-E' is not implied
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   465
     -MF <file>      - Generate dependencies into <file> and continue generating wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   466
     -MM             - List dependencies, but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   467
     -MMD            - Like `-MD', but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   468
     -module <name>  - Set module name to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   469
     -MT <target>    - Set the target of the rule emitted by dependency generation
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   470
     -nocontract     - Turn off contract checking
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   471
     -nocpperraswarn - Do not treat the preprocessor #error statement as #warning
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   472
     -nodefault      - Do not generate default constructors nor default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   473
     -nodefaultctor  - Do not generate implicit default constructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   474
     -nodefaultdtor  - Do not generate implicit default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   475
     -nodirprot      - Do not wrap director protected members
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   476
     -noexcept       - Do not wrap exception specifiers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   477
     -nofastdispatch - Disable fast dispatch mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   478
     -nopreprocess   - Skip the preprocessor step
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   479
     -notemplatereduce - Disable reduction of the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   480
     -O              - Enable the optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   481
                        -fastdispatch -fvirtual 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   482
     -o <outfile>    - Set name of the output file to <outfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   483
     -oh <headfile>  - Set name of the output header file to <headfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   484
     -outcurrentdir  - Set default output dir to current dir instead of input file's path
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   485
     -outdir <dir>   - Set language specific files output directory to <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   486
     -pcreversion    - Display PCRE version information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   487
     -small          - Compile in virtual elimination & compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   488
     -swiglib        - Report location of SWIG library and exit
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   489
     -templatereduce - Reduce all the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   490
     -v              - Run in verbose mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   491
     -version        - Display SWIG version number
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   492
     -Wall           - Remove all warning suppression, also implies -Wextra
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   493
     -Wallkw         - Enable keyword warnings for all the supported languages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   494
     -Werror         - Treat warnings as errors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   495
     -Wextra         - Adds the following additional warnings: 202,309,403,512,321,322
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   496
     -w<list>        - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   497
     -xmlout <file>  - Write XML version of the parse tree to <file> after normal processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   498
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   499
Options can also be defined using the SWIG_FEATURES environment variable, for example:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   500
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   501
  $ SWIG_FEATURES="-Wall"
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   502
  $ export SWIG_FEATURES
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   503
  $ swig -python interface.i
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   504
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   505
is equivalent to: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   506
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   507
  $ swig -Wall -python interface.i 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   508
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   509
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   510
Python Options (available with -python)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   511
     -aliasobj0      - Alias obj0 when using fastunpack, needed for some old typemaps 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   512
     -buildnone      - Use Py_BuildValue() to obtain Py_None (default in Windows)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   513
     -builtin        - Create new python built-in types, rather than proxy classes, for better performance
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   514
     -castmode       - Enable the casting mode, which allows implicit cast between types in python
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   515
     -classic        - Use classic classes only
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   516
     -classptr       - Generate shadow 'ClassPtr' as in older swig versions
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   517
     -cppcast        - Enable C++ casting operators (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   518
     -dirvtable      - Generate a pseudo virtual table for directors for faster dispatch 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   519
     -extranative    - Return extra native C++ wraps for std containers when possible 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   520
     -fastinit       - Use fast init mechanism for classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   521
     -fastunpack     - Use fast unpack mechanism to parse the argument functions 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   522
     -fastproxy      - Use fast proxy mechanism for member methods 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   523
     -fastquery      - Use fast query mechanism for types 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   524
     -globals <name> - Set <name> used to access C global variable [default: 'cvar']
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   525
     -interface <lib>- Set the lib name to <lib>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   526
     -keyword        - Use keyword arguments
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   527
     -modern         - Use modern python features only, without compatibility code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   528
     -modernargs     - Use "modern" args mechanism to pack/unpack the function arguments
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   529
     -newrepr        - Use more informative version of __repr__ in proxy classes (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   530
     -newvwm         - New value wrapper mode, use only when everything else fails 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   531
     -noaliasobj0    - Don't generate an obj0 alias when using fastunpack (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   532
     -nobuildnone    - Access Py_None directly (default in non-Windows systems)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   533
     -nocastmode     - Disable the casting mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   534
     -nocppcast      - Disable C++ casting operators, useful for generating bugs
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   535
     -nodirvtable    - Don't use the virtual table feature, resolve the python method each time (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   536
     -noexcept       - No automatic exception handling
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   537
     -noextranative  - Don't use extra native C++ wraps for std containers when possible (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   538
     -nofastinit     - Use traditional init mechanism for classes 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   539
     -nofastunpack   - Use traditional UnpackTuple method to parse the argument functions (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   540
     -nofastproxy    - Use traditional proxy mechanism for member methods (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   541
     -nofastquery    - Use traditional query mechanism for types (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   542
     -noh            - Don't generate the output header file
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   543
     -nomodern       - Don't use modern python features which are not backwards compatible 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   544
     -nomodernargs   - Use classic ParseTuple/CallFunction methods to pack/unpack the function arguments (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   545
     -noolddefs      - Don't emit the old method definitions even when using fastproxy (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   546
     -nooutputtuple  - Use a PyList for appending output values (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   547
     -noproxy        - Don't generate proxy classes 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   548
     -noproxydel     - Don't generate the redundant __del__ method 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   549
     -noproxyimport  - Don't insert proxy import statements derived from the %import directive 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   550
     -nortti         - Disable the use of the native C++ RTTI with directors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   551
     -nosafecstrings - Avoid extra strings copies when possible (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   552
     -nothreads      - Disable thread support for the entire interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   553
     -olddefs        - Keep the old method definitions even when using fastproxy
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   554
     -oldrepr        - Use shorter and old version of __repr__ in proxy classes
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   555
     -outputtuple    - Use a PyTuple for outputs instead of a PyList (use carefully with legacy interfaces) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   556
     -proxydel       - Generate a __del__ method even though it is now redundant (default) 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   557
     -safecstrings   - Use safer (but slower) C string mapping, generating copies from Python -> C/C++
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   558
     -threads        - Add thread support for all the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   559
     -O              - Enable the following optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   560
                         -modern -fastdispatch -nosafecstrings -fvirtual -noproxydel 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   561
                         -fastproxy -fastinit -fastunpack -fastquery -modernargs -nobuildnone 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   562
     -py3            - Generate code with Python 3 specific features:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   563
                         Function annotation 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   564
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   565
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   566
Note: 'swig -<lang> -help' displays options for a specific target language.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   567
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   568
Target Language Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   569
     -allegrocl      - Generate ALLEGROCL wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   570
     -chicken        - Generate CHICKEN wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   571
     -clisp          - Generate CLISP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   572
     -cffi           - Generate CFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   573
     -csharp         - Generate C# wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   574
     -d              - Generate D wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   575
     -go             - Generate Go wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   576
     -guile          - Generate Guile wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   577
     -java           - Generate Java wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   578
     -lua            - Generate Lua wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   579
     -modula3        - Generate Modula 3 wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   580
     -mzscheme       - Generate Mzscheme wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   581
     -ocaml          - Generate Ocaml wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   582
     -octave         - Generate Octave wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   583
     -perl           - Generate Perl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   584
     -php            - Generate PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   585
     -pike           - Generate Pike wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   586
     -python         - Generate Python wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   587
     -r              - Generate R (aka GNU S) wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   588
     -ruby           - Generate Ruby wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   589
     -sexp           - Generate Lisp S-Expressions wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   590
     -tcl            - Generate Tcl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   591
     -uffi           - Generate Common Lisp / UFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   592
     -xml            - Generate XML wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   593
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   594
General Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   595
     -addextern      - Add extra extern declarations
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   596
     -c++            - Enable C++ processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   597
     -co <file>      - Check <file> out of the SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   598
     -copyctor       - Automatically generate copy constructors wherever possible
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   599
     -cpperraswarn   - Treat the preprocessor #error statement as #warning (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   600
     -copyright      - Display copyright notices
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   601
     -debug-classes  - Display information about the classes found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   602
     -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   603
     -debug-symtabs  - Display symbol tables information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   604
     -debug-symbols  - Display target language symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   605
     -debug-csymbols - Display C symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   606
     -debug-lsymbols - Display target language layer symbols
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   607
     -debug-tags     - Display information about the tags found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   608
     -debug-template - Display information for debugging templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   609
     -debug-top <n>  - Display entire parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   610
     -debug-typedef  - Display information about the types and typedefs in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   611
     -debug-typemap  - Display typemap debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   612
     -debug-tmsearch - Display typemap search debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   613
     -debug-tmused   - Display typemaps used debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   614
     -directors      - Turn on director mode for all the classes, mainly for testing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   615
     -dirprot        - Turn on wrapping of protected members for director classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   616
     -D<symbol>      - Define a symbol <symbol> (for conditional compilation)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   617
     -E              - Preprocess only, does not generate wrapper code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   618
     -external-runtime [file] - Export the SWIG runtime stack
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   619
     -fakeversion <v>- Make SWIG fake the program version number to <v>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   620
     -fcompact       - Compile in compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   621
     -features <list>- Set global features, where <list> is a comma separated list of
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   622
                       features, eg -features directors,autodoc=1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   623
                       If no explicit value is given to the feature, a default of 1 is used
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   624
     -fastdispatch   - Enable fast dispatch mode to produce faster overload dispatcher code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   625
     -Fmicrosoft     - Display error/warning messages in Microsoft format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   626
     -Fstandard      - Display error/warning messages in commonly used format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   627
     -fvirtual       - Compile in virtual elimination mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   628
     -help           - This output
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   629
     -I-             - Don't search the current directory
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   630
     -I<dir>         - Look for SWIG files in directory <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   631
     -ignoremissing  - Ignore missing include files
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   632
     -importall      - Follow all #include statements as imports
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   633
     -includeall     - Follow all #include statements
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   634
     -l<ifile>       - Include SWIG library file <ifile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   635
     -macroerrors    - Report errors inside macros
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   636
     -makedefault    - Create default constructors/destructors (the default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   637
     -M              - List all dependencies
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   638
     -MD             - Is equivalent to `-M -MF <file>', except `-E' is not implied
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   639
     -MF <file>      - Generate dependencies into <file> and continue generating wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   640
     -MM             - List dependencies, but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   641
     -MMD            - Like `-MD', but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   642
     -module <name>  - Set module name to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   643
     -MT <target>    - Set the target of the rule emitted by dependency generation
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   644
     -nocontract     - Turn off contract checking
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   645
     -nocpperraswarn - Do not treat the preprocessor #error statement as #warning
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   646
     -nodefault      - Do not generate default constructors nor default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   647
     -nodefaultctor  - Do not generate implicit default constructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   648
     -nodefaultdtor  - Do not generate implicit default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   649
     -nodirprot      - Do not wrap director protected members
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   650
     -noexcept       - Do not wrap exception specifiers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   651
     -nofastdispatch - Disable fast dispatch mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   652
     -nopreprocess   - Skip the preprocessor step
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   653
     -notemplatereduce - Disable reduction of the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   654
     -O              - Enable the optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   655
                        -fastdispatch -fvirtual 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   656
     -o <outfile>    - Set name of the output file to <outfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   657
     -oh <headfile>  - Set name of the output header file to <headfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   658
     -outcurrentdir  - Set default output dir to current dir instead of input file's path
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   659
     -outdir <dir>   - Set language specific files output directory to <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   660
     -pcreversion    - Display PCRE version information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   661
     -small          - Compile in virtual elimination & compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   662
     -swiglib        - Report location of SWIG library and exit
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   663
     -templatereduce - Reduce all the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   664
     -v              - Run in verbose mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   665
     -version        - Display SWIG version number
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   666
     -Wall           - Remove all warning suppression, also implies -Wextra
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   667
     -Wallkw         - Enable keyword warnings for all the supported languages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   668
     -Werror         - Treat warnings as errors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   669
     -Wextra         - Adds the following additional warnings: 202,309,403,512,321,322
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   670
     -w<list>        - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   671
     -xmlout <file>  - Write XML version of the parse tree to <file> after normal processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   672
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   673
Options can also be defined using the SWIG_FEATURES environment variable, for example:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   674
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   675
  $ SWIG_FEATURES="-Wall"
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   676
  $ export SWIG_FEATURES
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   677
  $ swig -python interface.i
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   678
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   679
is equivalent to: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   680
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   681
  $ swig -Wall -python interface.i 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   682
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   683
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   684
Java Options (available with -java)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   685
     -nopgcpp        - Suppress premature garbage collection prevention parameter
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   686
     -noproxy        - Generate the low-level functional interface instead
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   687
                       of proxy classes
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   688
     -oldvarnames    - Old intermediary method names for variable wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   689
     -package <name> - Set name of the Java package to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   690
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   691
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   692
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   693
Note: 'swig -<lang> -help' displays options for a specific target language.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   694
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   695
Target Language Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   696
     -allegrocl      - Generate ALLEGROCL wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   697
     -chicken        - Generate CHICKEN wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   698
     -clisp          - Generate CLISP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   699
     -cffi           - Generate CFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   700
     -csharp         - Generate C# wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   701
     -d              - Generate D wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   702
     -go             - Generate Go wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   703
     -guile          - Generate Guile wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   704
     -java           - Generate Java wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   705
     -lua            - Generate Lua wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   706
     -modula3        - Generate Modula 3 wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   707
     -mzscheme       - Generate Mzscheme wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   708
     -ocaml          - Generate Ocaml wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   709
     -octave         - Generate Octave wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   710
     -perl           - Generate Perl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   711
     -php            - Generate PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   712
     -pike           - Generate Pike wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   713
     -python         - Generate Python wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   714
     -r              - Generate R (aka GNU S) wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   715
     -ruby           - Generate Ruby wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   716
     -sexp           - Generate Lisp S-Expressions wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   717
     -tcl            - Generate Tcl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   718
     -uffi           - Generate Common Lisp / UFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   719
     -xml            - Generate XML wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   720
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   721
General Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   722
     -addextern      - Add extra extern declarations
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   723
     -c++            - Enable C++ processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   724
     -co <file>      - Check <file> out of the SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   725
     -copyctor       - Automatically generate copy constructors wherever possible
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   726
     -cpperraswarn   - Treat the preprocessor #error statement as #warning (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   727
     -copyright      - Display copyright notices
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   728
     -debug-classes  - Display information about the classes found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   729
     -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   730
     -debug-symtabs  - Display symbol tables information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   731
     -debug-symbols  - Display target language symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   732
     -debug-csymbols - Display C symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   733
     -debug-lsymbols - Display target language layer symbols
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   734
     -debug-tags     - Display information about the tags found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   735
     -debug-template - Display information for debugging templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   736
     -debug-top <n>  - Display entire parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   737
     -debug-typedef  - Display information about the types and typedefs in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   738
     -debug-typemap  - Display typemap debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   739
     -debug-tmsearch - Display typemap search debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   740
     -debug-tmused   - Display typemaps used debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   741
     -directors      - Turn on director mode for all the classes, mainly for testing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   742
     -dirprot        - Turn on wrapping of protected members for director classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   743
     -D<symbol>      - Define a symbol <symbol> (for conditional compilation)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   744
     -E              - Preprocess only, does not generate wrapper code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   745
     -external-runtime [file] - Export the SWIG runtime stack
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   746
     -fakeversion <v>- Make SWIG fake the program version number to <v>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   747
     -fcompact       - Compile in compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   748
     -features <list>- Set global features, where <list> is a comma separated list of
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   749
                       features, eg -features directors,autodoc=1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   750
                       If no explicit value is given to the feature, a default of 1 is used
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   751
     -fastdispatch   - Enable fast dispatch mode to produce faster overload dispatcher code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   752
     -Fmicrosoft     - Display error/warning messages in Microsoft format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   753
     -Fstandard      - Display error/warning messages in commonly used format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   754
     -fvirtual       - Compile in virtual elimination mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   755
     -help           - This output
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   756
     -I-             - Don't search the current directory
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   757
     -I<dir>         - Look for SWIG files in directory <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   758
     -ignoremissing  - Ignore missing include files
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   759
     -importall      - Follow all #include statements as imports
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   760
     -includeall     - Follow all #include statements
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   761
     -l<ifile>       - Include SWIG library file <ifile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   762
     -macroerrors    - Report errors inside macros
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   763
     -makedefault    - Create default constructors/destructors (the default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   764
     -M              - List all dependencies
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   765
     -MD             - Is equivalent to `-M -MF <file>', except `-E' is not implied
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   766
     -MF <file>      - Generate dependencies into <file> and continue generating wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   767
     -MM             - List dependencies, but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   768
     -MMD            - Like `-MD', but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   769
     -module <name>  - Set module name to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   770
     -MT <target>    - Set the target of the rule emitted by dependency generation
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   771
     -nocontract     - Turn off contract checking
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   772
     -nocpperraswarn - Do not treat the preprocessor #error statement as #warning
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   773
     -nodefault      - Do not generate default constructors nor default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   774
     -nodefaultctor  - Do not generate implicit default constructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   775
     -nodefaultdtor  - Do not generate implicit default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   776
     -nodirprot      - Do not wrap director protected members
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   777
     -noexcept       - Do not wrap exception specifiers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   778
     -nofastdispatch - Disable fast dispatch mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   779
     -nopreprocess   - Skip the preprocessor step
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   780
     -notemplatereduce - Disable reduction of the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   781
     -O              - Enable the optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   782
                        -fastdispatch -fvirtual 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   783
     -o <outfile>    - Set name of the output file to <outfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   784
     -oh <headfile>  - Set name of the output header file to <headfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   785
     -outcurrentdir  - Set default output dir to current dir instead of input file's path
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   786
     -outdir <dir>   - Set language specific files output directory to <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   787
     -pcreversion    - Display PCRE version information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   788
     -small          - Compile in virtual elimination & compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   789
     -swiglib        - Report location of SWIG library and exit
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   790
     -templatereduce - Reduce all the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   791
     -v              - Run in verbose mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   792
     -version        - Display SWIG version number
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   793
     -Wall           - Remove all warning suppression, also implies -Wextra
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   794
     -Wallkw         - Enable keyword warnings for all the supported languages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   795
     -Werror         - Treat warnings as errors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   796
     -Wextra         - Adds the following additional warnings: 202,309,403,512,321,322
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   797
     -w<list>        - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   798
     -xmlout <file>  - Write XML version of the parse tree to <file> after normal processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   799
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   800
Options can also be defined using the SWIG_FEATURES environment variable, for example:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   801
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   802
  $ SWIG_FEATURES="-Wall"
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   803
  $ export SWIG_FEATURES
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   804
  $ swig -python interface.i
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   805
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   806
is equivalent to: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   807
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   808
  $ swig -Wall -python interface.i 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   809
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   810
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   811
Ruby Options (available with -ruby)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   812
     -autorename     - Enable renaming of classes and methods to follow Ruby coding standards
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   813
     -cppcast        - Enable C++ casting operators (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   814
     -globalmodule   - Wrap everything into the global module
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   815
     -initname <name>- Set entry function to Init_<name> (used by `require')
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   816
     -minherit       - Attempt to support multiple inheritance
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   817
     -noautorename   - Disable renaming of classes and methods (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   818
     -nocppcast      - Disable C++ casting operators, useful for generating bugs
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   819
     -prefix <name>  - Set a prefix <name> to be prepended to all names
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   820
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   821
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   822
Note: 'swig -<lang> -help' displays options for a specific target language.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   823
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   824
Target Language Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   825
     -allegrocl      - Generate ALLEGROCL wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   826
     -chicken        - Generate CHICKEN wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   827
     -clisp          - Generate CLISP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   828
     -cffi           - Generate CFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   829
     -csharp         - Generate C# wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   830
     -d              - Generate D wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   831
     -go             - Generate Go wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   832
     -guile          - Generate Guile wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   833
     -java           - Generate Java wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   834
     -lua            - Generate Lua wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   835
     -modula3        - Generate Modula 3 wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   836
     -mzscheme       - Generate Mzscheme wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   837
     -ocaml          - Generate Ocaml wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   838
     -octave         - Generate Octave wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   839
     -perl           - Generate Perl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   840
     -php            - Generate PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   841
     -pike           - Generate Pike wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   842
     -python         - Generate Python wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   843
     -r              - Generate R (aka GNU S) wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   844
     -ruby           - Generate Ruby wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   845
     -sexp           - Generate Lisp S-Expressions wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   846
     -tcl            - Generate Tcl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   847
     -uffi           - Generate Common Lisp / UFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   848
     -xml            - Generate XML wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   849
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   850
General Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   851
     -addextern      - Add extra extern declarations
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   852
     -c++            - Enable C++ processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   853
     -co <file>      - Check <file> out of the SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   854
     -copyctor       - Automatically generate copy constructors wherever possible
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   855
     -cpperraswarn   - Treat the preprocessor #error statement as #warning (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   856
     -copyright      - Display copyright notices
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   857
     -debug-classes  - Display information about the classes found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   858
     -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   859
     -debug-symtabs  - Display symbol tables information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   860
     -debug-symbols  - Display target language symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   861
     -debug-csymbols - Display C symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   862
     -debug-lsymbols - Display target language layer symbols
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   863
     -debug-tags     - Display information about the tags found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   864
     -debug-template - Display information for debugging templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   865
     -debug-top <n>  - Display entire parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   866
     -debug-typedef  - Display information about the types and typedefs in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   867
     -debug-typemap  - Display typemap debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   868
     -debug-tmsearch - Display typemap search debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   869
     -debug-tmused   - Display typemaps used debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   870
     -directors      - Turn on director mode for all the classes, mainly for testing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   871
     -dirprot        - Turn on wrapping of protected members for director classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   872
     -D<symbol>      - Define a symbol <symbol> (for conditional compilation)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   873
     -E              - Preprocess only, does not generate wrapper code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   874
     -external-runtime [file] - Export the SWIG runtime stack
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   875
     -fakeversion <v>- Make SWIG fake the program version number to <v>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   876
     -fcompact       - Compile in compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   877
     -features <list>- Set global features, where <list> is a comma separated list of
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   878
                       features, eg -features directors,autodoc=1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   879
                       If no explicit value is given to the feature, a default of 1 is used
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   880
     -fastdispatch   - Enable fast dispatch mode to produce faster overload dispatcher code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   881
     -Fmicrosoft     - Display error/warning messages in Microsoft format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   882
     -Fstandard      - Display error/warning messages in commonly used format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   883
     -fvirtual       - Compile in virtual elimination mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   884
     -help           - This output
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   885
     -I-             - Don't search the current directory
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   886
     -I<dir>         - Look for SWIG files in directory <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   887
     -ignoremissing  - Ignore missing include files
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   888
     -importall      - Follow all #include statements as imports
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   889
     -includeall     - Follow all #include statements
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   890
     -l<ifile>       - Include SWIG library file <ifile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   891
     -macroerrors    - Report errors inside macros
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   892
     -makedefault    - Create default constructors/destructors (the default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   893
     -M              - List all dependencies
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   894
     -MD             - Is equivalent to `-M -MF <file>', except `-E' is not implied
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   895
     -MF <file>      - Generate dependencies into <file> and continue generating wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   896
     -MM             - List dependencies, but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   897
     -MMD            - Like `-MD', but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   898
     -module <name>  - Set module name to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   899
     -MT <target>    - Set the target of the rule emitted by dependency generation
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   900
     -nocontract     - Turn off contract checking
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   901
     -nocpperraswarn - Do not treat the preprocessor #error statement as #warning
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   902
     -nodefault      - Do not generate default constructors nor default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   903
     -nodefaultctor  - Do not generate implicit default constructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   904
     -nodefaultdtor  - Do not generate implicit default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   905
     -nodirprot      - Do not wrap director protected members
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   906
     -noexcept       - Do not wrap exception specifiers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   907
     -nofastdispatch - Disable fast dispatch mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   908
     -nopreprocess   - Skip the preprocessor step
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   909
     -notemplatereduce - Disable reduction of the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   910
     -O              - Enable the optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   911
                        -fastdispatch -fvirtual 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   912
     -o <outfile>    - Set name of the output file to <outfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   913
     -oh <headfile>  - Set name of the output header file to <headfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   914
     -outcurrentdir  - Set default output dir to current dir instead of input file's path
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   915
     -outdir <dir>   - Set language specific files output directory to <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   916
     -pcreversion    - Display PCRE version information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   917
     -small          - Compile in virtual elimination & compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   918
     -swiglib        - Report location of SWIG library and exit
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   919
     -templatereduce - Reduce all the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   920
     -v              - Run in verbose mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   921
     -version        - Display SWIG version number
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   922
     -Wall           - Remove all warning suppression, also implies -Wextra
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   923
     -Wallkw         - Enable keyword warnings for all the supported languages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   924
     -Werror         - Treat warnings as errors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   925
     -Wextra         - Adds the following additional warnings: 202,309,403,512,321,322
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   926
     -w<list>        - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   927
     -xmlout <file>  - Write XML version of the parse tree to <file> after normal processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   928
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   929
Options can also be defined using the SWIG_FEATURES environment variable, for example:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   930
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   931
  $ SWIG_FEATURES="-Wall"
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   932
  $ export SWIG_FEATURES
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   933
  $ swig -python interface.i
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   934
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   935
is equivalent to: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   936
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   937
  $ swig -Wall -python interface.i 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   938
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   939
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   940
Ocaml Options (available with -ocaml)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   941
     -oldvarnames    - Old intermediary method names for variable wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   942
     -prefix <name>  - Set a prefix <name> to be prepended to all names
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   943
     -suffix <name>  - Change .cxx to something else
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   944
     -where          - Emit library location
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   945
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   946
Target Language Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   947
     -allegrocl      - Generate ALLEGROCL wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   948
     -chicken        - Generate CHICKEN wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   949
     -clisp          - Generate CLISP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   950
     -cffi           - Generate CFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   951
     -csharp         - Generate C# wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   952
     -d              - Generate D wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   953
     -go             - Generate Go wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   954
     -guile          - Generate Guile wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   955
     -java           - Generate Java wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   956
     -lua            - Generate Lua wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   957
     -modula3        - Generate Modula 3 wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   958
     -mzscheme       - Generate Mzscheme wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   959
     -ocaml          - Generate Ocaml wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   960
     -octave         - Generate Octave wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   961
     -perl           - Generate Perl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   962
     -php            - Generate PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   963
     -pike           - Generate Pike wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   964
     -python         - Generate Python wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   965
     -r              - Generate R (aka GNU S) wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   966
     -ruby           - Generate Ruby wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   967
     -sexp           - Generate Lisp S-Expressions wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   968
     -tcl            - Generate Tcl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   969
     -uffi           - Generate Common Lisp / UFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   970
     -xml            - Generate XML wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   971
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   972
General Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   973
     -addextern      - Add extra extern declarations
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   974
     -c++            - Enable C++ processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   975
     -co <file>      - Check <file> out of the SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   976
     -copyctor       - Automatically generate copy constructors wherever possible
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   977
     -cpperraswarn   - Treat the preprocessor #error statement as #warning (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   978
     -copyright      - Display copyright notices
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   979
     -debug-classes  - Display information about the classes found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   980
     -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   981
     -debug-symtabs  - Display symbol tables information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   982
     -debug-symbols  - Display target language symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   983
     -debug-csymbols - Display C symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   984
     -debug-lsymbols - Display target language layer symbols
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   985
     -debug-tags     - Display information about the tags found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   986
     -debug-template - Display information for debugging templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   987
     -debug-top <n>  - Display entire parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   988
     -debug-typedef  - Display information about the types and typedefs in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   989
     -debug-typemap  - Display typemap debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   990
     -debug-tmsearch - Display typemap search debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   991
     -debug-tmused   - Display typemaps used debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   992
     -directors      - Turn on director mode for all the classes, mainly for testing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   993
     -dirprot        - Turn on wrapping of protected members for director classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   994
     -D<symbol>      - Define a symbol <symbol> (for conditional compilation)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   995
     -E              - Preprocess only, does not generate wrapper code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   996
     -external-runtime [file] - Export the SWIG runtime stack
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   997
     -fakeversion <v>- Make SWIG fake the program version number to <v>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   998
     -fcompact       - Compile in compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   999
     -features <list>- Set global features, where <list> is a comma separated list of
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1000
                       features, eg -features directors,autodoc=1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1001
                       If no explicit value is given to the feature, a default of 1 is used
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1002
     -fastdispatch   - Enable fast dispatch mode to produce faster overload dispatcher code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1003
     -Fmicrosoft     - Display error/warning messages in Microsoft format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1004
     -Fstandard      - Display error/warning messages in commonly used format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1005
     -fvirtual       - Compile in virtual elimination mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1006
     -help           - This output
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1007
     -I-             - Don't search the current directory
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1008
     -I<dir>         - Look for SWIG files in directory <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1009
     -ignoremissing  - Ignore missing include files
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1010
     -importall      - Follow all #include statements as imports
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1011
     -includeall     - Follow all #include statements
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1012
     -l<ifile>       - Include SWIG library file <ifile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1013
     -macroerrors    - Report errors inside macros
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1014
     -makedefault    - Create default constructors/destructors (the default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1015
     -M              - List all dependencies
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1016
     -MD             - Is equivalent to `-M -MF <file>', except `-E' is not implied
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1017
     -MF <file>      - Generate dependencies into <file> and continue generating wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1018
     -MM             - List dependencies, but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1019
     -MMD            - Like `-MD', but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1020
     -module <name>  - Set module name to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1021
     -MT <target>    - Set the target of the rule emitted by dependency generation
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1022
     -nocontract     - Turn off contract checking
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1023
     -nocpperraswarn - Do not treat the preprocessor #error statement as #warning
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1024
     -nodefault      - Do not generate default constructors nor default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1025
     -nodefaultctor  - Do not generate implicit default constructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1026
     -nodefaultdtor  - Do not generate implicit default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1027
     -nodirprot      - Do not wrap director protected members
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1028
     -noexcept       - Do not wrap exception specifiers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1029
     -nofastdispatch - Disable fast dispatch mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1030
     -nopreprocess   - Skip the preprocessor step
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1031
     -notemplatereduce - Disable reduction of the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1032
     -O              - Enable the optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1033
                        -fastdispatch -fvirtual 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1034
     -o <outfile>    - Set name of the output file to <outfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1035
     -oh <headfile>  - Set name of the output header file to <headfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1036
     -outcurrentdir  - Set default output dir to current dir instead of input file's path
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1037
     -outdir <dir>   - Set language specific files output directory to <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1038
     -pcreversion    - Display PCRE version information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1039
     -small          - Compile in virtual elimination & compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1040
     -swiglib        - Report location of SWIG library and exit
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1041
     -templatereduce - Reduce all the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1042
     -v              - Run in verbose mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1043
     -version        - Display SWIG version number
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1044
     -Wall           - Remove all warning suppression, also implies -Wextra
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1045
     -Wallkw         - Enable keyword warnings for all the supported languages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1046
     -Werror         - Treat warnings as errors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1047
     -Wextra         - Adds the following additional warnings: 202,309,403,512,321,322
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1048
     -w<list>        - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1049
     -xmlout <file>  - Write XML version of the parse tree to <file> after normal processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1050
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1051
Options can also be defined using the SWIG_FEATURES environment variable, for example:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1052
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1053
  $ SWIG_FEATURES="-Wall"
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1054
  $ export SWIG_FEATURES
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1055
  $ swig -python interface.i
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1056
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1057
is equivalent to: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1058
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1059
  $ swig -Wall -python interface.i 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1060
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1061
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1062
PHP Options (available with -php)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1063
     -cppext <ext>    - Change C++ file extension to <ext> (default is cpp)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1064
     -noproxy         - Don't generate proxy classes.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1065
     -prefix <prefix> - Prepend <prefix> to all class names in PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1066
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1067
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1068
Note: 'swig -<lang> -help' displays options for a specific target language.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1069
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1070
Target Language Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1071
     -allegrocl      - Generate ALLEGROCL wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1072
     -chicken        - Generate CHICKEN wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1073
     -clisp          - Generate CLISP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1074
     -cffi           - Generate CFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1075
     -csharp         - Generate C# wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1076
     -d              - Generate D wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1077
     -go             - Generate Go wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1078
     -guile          - Generate Guile wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1079
     -java           - Generate Java wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1080
     -lua            - Generate Lua wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1081
     -modula3        - Generate Modula 3 wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1082
     -mzscheme       - Generate Mzscheme wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1083
     -ocaml          - Generate Ocaml wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1084
     -octave         - Generate Octave wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1085
     -perl           - Generate Perl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1086
     -php            - Generate PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1087
     -pike           - Generate Pike wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1088
     -python         - Generate Python wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1089
     -r              - Generate R (aka GNU S) wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1090
     -ruby           - Generate Ruby wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1091
     -sexp           - Generate Lisp S-Expressions wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1092
     -tcl            - Generate Tcl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1093
     -uffi           - Generate Common Lisp / UFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1094
     -xml            - Generate XML wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1095
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1096
General Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1097
     -addextern      - Add extra extern declarations
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1098
     -c++            - Enable C++ processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1099
     -co <file>      - Check <file> out of the SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1100
     -copyctor       - Automatically generate copy constructors wherever possible
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1101
     -cpperraswarn   - Treat the preprocessor #error statement as #warning (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1102
     -copyright      - Display copyright notices
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1103
     -debug-classes  - Display information about the classes found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1104
     -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1105
     -debug-symtabs  - Display symbol tables information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1106
     -debug-symbols  - Display target language symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1107
     -debug-csymbols - Display C symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1108
     -debug-lsymbols - Display target language layer symbols
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1109
     -debug-tags     - Display information about the tags found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1110
     -debug-template - Display information for debugging templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1111
     -debug-top <n>  - Display entire parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1112
     -debug-typedef  - Display information about the types and typedefs in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1113
     -debug-typemap  - Display typemap debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1114
     -debug-tmsearch - Display typemap search debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1115
     -debug-tmused   - Display typemaps used debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1116
     -directors      - Turn on director mode for all the classes, mainly for testing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1117
     -dirprot        - Turn on wrapping of protected members for director classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1118
     -D<symbol>      - Define a symbol <symbol> (for conditional compilation)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1119
     -E              - Preprocess only, does not generate wrapper code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1120
     -external-runtime [file] - Export the SWIG runtime stack
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1121
     -fakeversion <v>- Make SWIG fake the program version number to <v>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1122
     -fcompact       - Compile in compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1123
     -features <list>- Set global features, where <list> is a comma separated list of
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1124
                       features, eg -features directors,autodoc=1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1125
                       If no explicit value is given to the feature, a default of 1 is used
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1126
     -fastdispatch   - Enable fast dispatch mode to produce faster overload dispatcher code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1127
     -Fmicrosoft     - Display error/warning messages in Microsoft format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1128
     -Fstandard      - Display error/warning messages in commonly used format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1129
     -fvirtual       - Compile in virtual elimination mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1130
     -help           - This output
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1131
     -I-             - Don't search the current directory
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1132
     -I<dir>         - Look for SWIG files in directory <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1133
     -ignoremissing  - Ignore missing include files
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1134
     -importall      - Follow all #include statements as imports
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1135
     -includeall     - Follow all #include statements
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1136
     -l<ifile>       - Include SWIG library file <ifile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1137
     -macroerrors    - Report errors inside macros
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1138
     -makedefault    - Create default constructors/destructors (the default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1139
     -M              - List all dependencies
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1140
     -MD             - Is equivalent to `-M -MF <file>', except `-E' is not implied
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1141
     -MF <file>      - Generate dependencies into <file> and continue generating wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1142
     -MM             - List dependencies, but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1143
     -MMD            - Like `-MD', but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1144
     -module <name>  - Set module name to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1145
     -MT <target>    - Set the target of the rule emitted by dependency generation
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1146
     -nocontract     - Turn off contract checking
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1147
     -nocpperraswarn - Do not treat the preprocessor #error statement as #warning
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1148
     -nodefault      - Do not generate default constructors nor default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1149
     -nodefaultctor  - Do not generate implicit default constructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1150
     -nodefaultdtor  - Do not generate implicit default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1151
     -nodirprot      - Do not wrap director protected members
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1152
     -noexcept       - Do not wrap exception specifiers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1153
     -nofastdispatch - Disable fast dispatch mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1154
     -nopreprocess   - Skip the preprocessor step
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1155
     -notemplatereduce - Disable reduction of the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1156
     -O              - Enable the optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1157
                        -fastdispatch -fvirtual 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1158
     -o <outfile>    - Set name of the output file to <outfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1159
     -oh <headfile>  - Set name of the output header file to <headfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1160
     -outcurrentdir  - Set default output dir to current dir instead of input file's path
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1161
     -outdir <dir>   - Set language specific files output directory to <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1162
     -pcreversion    - Display PCRE version information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1163
     -small          - Compile in virtual elimination & compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1164
     -swiglib        - Report location of SWIG library and exit
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1165
     -templatereduce - Reduce all the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1166
     -v              - Run in verbose mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1167
     -version        - Display SWIG version number
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1168
     -Wall           - Remove all warning suppression, also implies -Wextra
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1169
     -Wallkw         - Enable keyword warnings for all the supported languages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1170
     -Werror         - Treat warnings as errors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1171
     -Wextra         - Adds the following additional warnings: 202,309,403,512,321,322
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1172
     -w<list>        - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1173
     -xmlout <file>  - Write XML version of the parse tree to <file> after normal processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1174
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1175
Options can also be defined using the SWIG_FEATURES environment variable, for example:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1176
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1177
  $ SWIG_FEATURES="-Wall"
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1178
  $ export SWIG_FEATURES
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1179
  $ swig -python interface.i
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1180
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1181
is equivalent to: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1182
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1183
  $ swig -Wall -python interface.i 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1184
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1185
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1186
CLISP Options (available with -clisp)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1187
     -extern-all       - Create clisp definitions for all the functions and
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1188
                         global variables otherwise only definitions for
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1189
                         externed functions and variables are created.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1190
     -generate-typedef - Use def-c-type to generate shortcuts according to the
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1191
                         typedefs in the input.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1192
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1193
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1194
Note: 'swig -<lang> -help' displays options for a specific target language.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1195
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1196
Target Language Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1197
     -allegrocl      - Generate ALLEGROCL wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1198
     -chicken        - Generate CHICKEN wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1199
     -clisp          - Generate CLISP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1200
     -cffi           - Generate CFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1201
     -csharp         - Generate C# wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1202
     -d              - Generate D wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1203
     -go             - Generate Go wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1204
     -guile          - Generate Guile wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1205
     -java           - Generate Java wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1206
     -lua            - Generate Lua wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1207
     -modula3        - Generate Modula 3 wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1208
     -mzscheme       - Generate Mzscheme wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1209
     -ocaml          - Generate Ocaml wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1210
     -octave         - Generate Octave wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1211
     -perl           - Generate Perl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1212
     -php            - Generate PHP wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1213
     -pike           - Generate Pike wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1214
     -python         - Generate Python wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1215
     -r              - Generate R (aka GNU S) wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1216
     -ruby           - Generate Ruby wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1217
     -sexp           - Generate Lisp S-Expressions wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1218
     -tcl            - Generate Tcl wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1219
     -uffi           - Generate Common Lisp / UFFI wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1220
     -xml            - Generate XML wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1221
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1222
General Options
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1223
     -addextern      - Add extra extern declarations
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1224
     -c++            - Enable C++ processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1225
     -co <file>      - Check <file> out of the SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1226
     -copyctor       - Automatically generate copy constructors wherever possible
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1227
     -cpperraswarn   - Treat the preprocessor #error statement as #warning (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1228
     -copyright      - Display copyright notices
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1229
     -debug-classes  - Display information about the classes found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1230
     -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1231
     -debug-symtabs  - Display symbol tables information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1232
     -debug-symbols  - Display target language symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1233
     -debug-csymbols - Display C symbols in the symbol tables
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1234
     -debug-lsymbols - Display target language layer symbols
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1235
     -debug-tags     - Display information about the tags found in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1236
     -debug-template - Display information for debugging templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1237
     -debug-top <n>  - Display entire parse tree at stages 1-4, <n> is a csv list of stages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1238
     -debug-typedef  - Display information about the types and typedefs in the interface
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1239
     -debug-typemap  - Display typemap debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1240
     -debug-tmsearch - Display typemap search debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1241
     -debug-tmused   - Display typemaps used debugging information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1242
     -directors      - Turn on director mode for all the classes, mainly for testing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1243
     -dirprot        - Turn on wrapping of protected members for director classes (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1244
     -D<symbol>      - Define a symbol <symbol> (for conditional compilation)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1245
     -E              - Preprocess only, does not generate wrapper code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1246
     -external-runtime [file] - Export the SWIG runtime stack
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1247
     -fakeversion <v>- Make SWIG fake the program version number to <v>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1248
     -fcompact       - Compile in compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1249
     -features <list>- Set global features, where <list> is a comma separated list of
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1250
                       features, eg -features directors,autodoc=1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1251
                       If no explicit value is given to the feature, a default of 1 is used
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1252
     -fastdispatch   - Enable fast dispatch mode to produce faster overload dispatcher code
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1253
     -Fmicrosoft     - Display error/warning messages in Microsoft format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1254
     -Fstandard      - Display error/warning messages in commonly used format
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1255
     -fvirtual       - Compile in virtual elimination mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1256
     -help           - This output
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1257
     -I-             - Don't search the current directory
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1258
     -I<dir>         - Look for SWIG files in directory <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1259
     -ignoremissing  - Ignore missing include files
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1260
     -importall      - Follow all #include statements as imports
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1261
     -includeall     - Follow all #include statements
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1262
     -l<ifile>       - Include SWIG library file <ifile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1263
     -macroerrors    - Report errors inside macros
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1264
     -makedefault    - Create default constructors/destructors (the default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1265
     -M              - List all dependencies
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1266
     -MD             - Is equivalent to `-M -MF <file>', except `-E' is not implied
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1267
     -MF <file>      - Generate dependencies into <file> and continue generating wrappers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1268
     -MM             - List dependencies, but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1269
     -MMD            - Like `-MD', but omit files in SWIG library
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1270
     -module <name>  - Set module name to <name>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1271
     -MT <target>    - Set the target of the rule emitted by dependency generation
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1272
     -nocontract     - Turn off contract checking
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1273
     -nocpperraswarn - Do not treat the preprocessor #error statement as #warning
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1274
     -nodefault      - Do not generate default constructors nor default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1275
     -nodefaultctor  - Do not generate implicit default constructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1276
     -nodefaultdtor  - Do not generate implicit default destructors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1277
     -nodirprot      - Do not wrap director protected members
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1278
     -noexcept       - Do not wrap exception specifiers
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1279
     -nofastdispatch - Disable fast dispatch mode (default)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1280
     -nopreprocess   - Skip the preprocessor step
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1281
     -notemplatereduce - Disable reduction of the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1282
     -O              - Enable the optimization options: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1283
                        -fastdispatch -fvirtual 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1284
     -o <outfile>    - Set name of the output file to <outfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1285
     -oh <headfile>  - Set name of the output header file to <headfile>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1286
     -outcurrentdir  - Set default output dir to current dir instead of input file's path
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1287
     -outdir <dir>   - Set language specific files output directory to <dir>
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1288
     -pcreversion    - Display PCRE version information
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1289
     -small          - Compile in virtual elimination & compact mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1290
     -swiglib        - Report location of SWIG library and exit
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1291
     -templatereduce - Reduce all the typedefs in templates
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1292
     -v              - Run in verbose mode
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1293
     -version        - Display SWIG version number
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1294
     -Wall           - Remove all warning suppression, also implies -Wextra
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1295
     -Wallkw         - Enable keyword warnings for all the supported languages
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1296
     -Werror         - Treat warnings as errors
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1297
     -Wextra         - Adds the following additional warnings: 202,309,403,512,321,322
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1298
     -w<list>        - Suppress/add warning messages, eg -w401,+321 - see Warnings.html
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1299
     -xmlout <file>  - Write XML version of the parse tree to <file> after normal processing
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1300
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1301
Options can also be defined using the SWIG_FEATURES environment variable, for example:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1302
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1303
  $ SWIG_FEATURES="-Wall"
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1304
  $ export SWIG_FEATURES
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1305
  $ swig -python interface.i
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1306
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1307
is equivalent to: 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1308
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1309
  $ swig -Wall -python interface.i 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1310
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1311
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1312
Lua Options (available with -lua)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1313
     -elua           - Generates LTR compatible wrappers for smaller devices running elua
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1314
     -eluac          - LTR compatible wrappers in "crass compress" mode for elua
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1315
     -nomoduleglobal - Do not register the module name as a global variable 
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1316
                       but return the module table from calls to require.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1317
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1318
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1319
Note: 'swig -<lang> -help' displays options for a specific target language.
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1320
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1321
test -z "1" || (cd CCache && /usr/gnu/bin/make check)
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1322
make[2]: Entering directory `$(@D)/CCache'
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1323
SWIG_LIB='../../Lib' PATH=../..:$PATH SWIG='swig' CC='$(CC)' NOSOFTLINKSTEST='' ./test.sh
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1324
starting testsuite base
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1325
test1.c:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1326
test2.c:
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1327
starting swig testsuite base
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1328
ln: cannot create $(CC): Read-only file system
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1329
starting testsuite link
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1330
./test.sh[89]: ./$(CC): not found [No such file or directory]
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1331
SUITE: link TEST: BASIC - Expected cache miss to be 1 got 0
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1332
cache directory                     ccache dir
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1333
cache hit                              0
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1334
cache miss                             0
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1335
files in cache                         0
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1336
cache size                             0 Kbytes
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1337
max cache size                     976.6 Mbytes
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1338
TEST FAILED
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1339
make[2]: *** [test] Error 1
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1340
make[2]: Leaving directory `$(@D)/CCache'
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1341
make[1]: *** [check-ccache] Error 2
7eba66b644d2 20461180 SWIG should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
  1342
make[1]: Leaving directory `$(@D)'