X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f53561f1f0860024afcc44cdf581e57080d457bf..d062e17fca1a1fc0b82b269da4a7ad271075ba2b:/docs/wine/install.txt?ds=sidebyside diff --git a/docs/wine/install.txt b/docs/wine/install.txt index bd923a3d50..ab0afa3fd7 100644 --- a/docs/wine/install.txt +++ b/docs/wine/install.txt @@ -28,22 +28,47 @@ change disables the Windows native calling convention. * The most simple case ----------------------- -If you compile wxWindows on Unix for the first time and don't like to read +If you compile wxWindows on Linux for the first time and don't like to read install instructions just do (in the base dir): -./configure --with-wine -make -su -make install -ldconfig -exit +> ./configure --with-wine +> make +> su +> make install +> ldconfig +> exit + +On all variants of Unix except Linux (and maybe except *BSD), shared libraries +are not supportet out of the box due to the utter stupidity of libtool, so you'll +have to do this to get shared library support: + +> ./configure --with-wine --disable-static --enable-shared + +Then you'll have to edit the wrongly created libtool script. There are two +important entries with respect to shared library creation, which are + + archive_cmds="\$LD -shared .... + archive_expsym_cmds="\$LD -shared .... + +which should be something like + + archive_cmds="\$CC -shared .... + archive_expsym_cmds="\$CC -shared .... + +Afterwards you can continue with + +> make +> su +> make install +> ldconfig +> exit If you want to remove wxWindows on Unix you can do this: -su -make uninstall -ldconfig -exit +> su +> make uninstall +> ldconfig +> exit * The expert case ----------------- @@ -186,6 +211,17 @@ The following options handle the kind of library you want to build. --enable-profile Add profiling info to the object files. Currently broken, I think. + --enable-no_rtti Enable compilation without creation of + C++ RTTI information in object files. + This will speed-up compilation and reduce + binary size. + + --enable-no_exceptions Enable compilation without creation of + C++ exception information in object files. + This will speed-up compilation and reduce + binary size. Also fewer crashes during the + actual compilation... + --enable-mem_tracing Add built-in memory tracing. --enable-dmalloc Use the dmalloc memory debugger.