X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe557b48e445b77ff54f9da8fc3857d1de6abc71..4e15d1caa03346c126015019c1fdf093033ef40b:/docs/gtk/install.txt?ds=sidebyside diff --git a/docs/gtk/install.txt b/docs/gtk/install.txt index d279998fe2..71a6600710 100644 --- a/docs/gtk/install.txt +++ b/docs/gtk/install.txt @@ -1,5 +1,5 @@ -wxWidgets 2.6 for GTK+ installation ------------------------------------ +wxWidgets for GTK+ installation +------------------------------- IMPORTANT NOTE: @@ -11,7 +11,7 @@ IMPORTANT NOTE: When sending bug reports tell us what version of wxWidgets you are using (including the beta) and what compiler on what system. One - example: wxGTK 2.6.3, gcc 3.4.5, Fedora Core 4 + example: wxGTK 2.8.0, gcc 3.4.5, Fedora Core 4 * The simplest case ------------------- @@ -71,8 +71,8 @@ cd buildgtkd make cd .. -Note that since wxWidgets-2.6.0 you can install all those libraries -concurrently, you just need to pass the appropriate flags when using them. +Note that you can install all those libraries concurrently, you just need to +pass the appropriate flags when using them. * The simplest errors --------------------- @@ -200,6 +200,20 @@ untested). The SGI native compiler support has only been tested on Irix 6.5. +* Building wxGTK on Cygwin +-------------------------- + +The normal build instructions should work fine on Cygwin. The one difference +with Cygwin is that when using the "--enable-shared" configure option (which +is the default) the API is exported explicitly using __declspec(dllexport) +rather than all global symbols being available. + +This shouldn't make a difference using the library and should be a little +more efficient. However if an export attribute has been missed somewhere you +will see linking errors. If this happens then you can work around the +problem by setting LDFLAGS=-Wl,--export-all-symbols. Please also let us know +about it on the wx-dev mailing list. + * Create your configuration --------------------------- @@ -232,7 +246,7 @@ are enabled by default. Normally, you won't have to choose a toolkit, because when you download wxGTK, it will default to --with-gtk etc. But -if you use all of our CVS repository you have to choose a +if you use all of our SVN repository you have to choose a toolkit. You must do this by running configure with either of: --with-gtk=2 Use the GTK+ 2.0. Default. @@ -316,7 +330,7 @@ are --with-odbc Enables ODBC code. This is disabled by default because iODBC is under the L-GPL license which is less liberal than - wxWidgets license. + wxWindows licence. --without-libpng Disables PNG image format code. @@ -413,13 +427,13 @@ g++ myfoo.cpp `wx-config --cxxflags --libs` -o myfoo Using this way, a make file for the minimal sample would look like this -CC = gcc +CXX = g++ minimal: minimal.o - $(CC) -o minimal minimal.o `wx-config --libs` + $(CXX) -o minimal minimal.o `wx-config --libs` -minimal.o: minimal.cpp mondrian.xpm - $(CC) `wx-config --cxxflags` -c minimal.cpp -o minimal.o +minimal.o: minimal.cpp + $(CXX) `wx-config --cxxflags` -c minimal.cpp -o minimal.o clean: rm -f *.o minimal