From ab75fdbdcd62a323fd17af68d34b0689b24a87d3 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Wed, 30 Aug 2006 11:17:14 +0000 Subject: [PATCH] Build notes for Cygwin. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/gtk/install.txt | 14 ++++++++++++++ docs/motif/install.txt | 14 ++++++++++++++ docs/x11/install.txt | 14 ++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/docs/gtk/install.txt b/docs/gtk/install.txt index 58fb667f4b..78171fa2e7 100644 --- a/docs/gtk/install.txt +++ b/docs/gtk/install.txt @@ -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 --------------------------- diff --git a/docs/motif/install.txt b/docs/motif/install.txt index 923df5afb3..4c9a716969 100644 --- a/docs/motif/install.txt +++ b/docs/motif/install.txt @@ -231,6 +231,20 @@ untested). The SGI native compiler support has only been tested on Irix 6.5. +* Building wxMotif 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 --------------------------- diff --git a/docs/x11/install.txt b/docs/x11/install.txt index 46e8caa4a1..dbcef79fed 100644 --- a/docs/x11/install.txt +++ b/docs/x11/install.txt @@ -217,6 +217,20 @@ untested). The SGI native compiler support has only been tested on Irix 6.5. +* Building wxX11 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 --------------------------- -- 2.45.2