Swig
From Genunix
swig
- A C/C++ code wrapper and interface generator for other programming languages
Contents |
[edit]
Rating
4 points (out of 4)
Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:
- Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
- Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
- Minus 1 if a minor patch is required, or
- Minus 2 if a major patch(es) is required
[edit]
How to build swig-1.3.30 on Solaris Express
[edit]
Build Environment (platform, compiler, tools, PATH, ld)
[edit]
Configure and compile steps (on x86 hardware)
/usr/bin/gzip -dc swig-1.3.30.tar.gz | /usr/sfw/bin/gtar xf -
cd swig-1.3.30
export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr"
export CXX="${CXX} -norunpath"
export CXXFLAGS="-i -xO3 -xspace -pentium -mr -norunpath"
./configure --prefix=/usr --mandir=/usr/share/man \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--sysconfdir=/etc
make
[edit]
Other configure options
[edit]
Directory paths that swig installs to
bin share/swig/1.3.29 share/swig/1.3.29/allegrocl share/swig/1.3.29/cffi share/swig/1.3.29/chicken share/swig/1.3.29/clisp share/swig/1.3.29/csharp share/swig/1.3.29/gcj share/swig/1.3.29/guile share/swig/1.3.29/java share/swig/1.3.29/lua share/swig/1.3.29/modula3 share/swig/1.3.29/mzscheme share/swig/1.3.29/ocaml share/swig/1.3.29/perl5 share/swig/1.3.29/php4 share/swig/1.3.29/pike share/swig/1.3.29/python share/swig/1.3.29/ruby share/swig/1.3.29/std share/swig/1.3.29/tcl share/swig/1.3.29/typemaps share/swig/1.3.29/uffi
[edit]
Other 3rd party software swig requires
(none)
