X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c368d904fc27d35ae1e533155e2154dc496432e4..a92b0cfd2bd0bef75b43c071df0b0e028f360d8e:/wxPython/BUILD.unix.txt?ds=sidebyside diff --git a/wxPython/BUILD.unix.txt b/wxPython/BUILD.unix.txt index e1409e4e9f..41a281e5ea 100644 --- a/wxPython/BUILD.unix.txt +++ b/wxPython/BUILD.unix.txt @@ -14,8 +14,10 @@ few bits of background information on tools. I use a tool called SWIG (http://www.swig.org) to help generate the C++ sources used in the wxPython extension module. However you don't need to have SWIG unless you want to modify the *.i files. If you do -you'll want to have version 1.1-883 of SWIG and you'll need to change -a flag in the setup.py script as described below. +you'll want to have version 1.1-883 of SWIG and you'll need to apply +the patches and updates in wxPython/SWIG and rebuild it. Then you'll +need to change a flag in the setup.py script as described below so the +wxPython build process will use SWIG if needed. I use the new Python Distutils tool to build wxPython. It is included with Python 2.0, but if you want to use Python 1.5.2 or 1.6 then @@ -119,6 +121,9 @@ D. If using the sources (either from the tarball or from CVS) then special debugging code in wxWindows by defining the __WXDEBUG__ macro. You'll get some extra asserts, failure logging, etc. + To make a static library and not make a shared library, use the + --disable-shared and --enable-static flags. + E. Now just compile and install. You need to use GNU make, so if your system has something else get GNU make and build and install it and use it instead of your system's default make command.