X11 and shared libs again

Chris Faylor cgf@cygnus.com
Tue Nov 9 12:44:00 GMT 1999

On Tue, Nov 09, 1999 at 01:38:53PM -0700, Steve Jorgensen wrote:
>I've been poking around the X source code for cygwin, trying to figure
>out how the X libraries support the externing of Xt widget class
>I really want to figure out how to create my own shared X library DLL's
>for the Khoros library, because one of the main features of our visual
>programming language depends on the ability of using dlopen to load new
>widget subclasses at run time.
>Anyway, I came to the realization today, that no libXt.dll or
>libXmu.dll file exist in the cygwin-xfree-4_0-cygwin-v-1_tar.bz2 X11
>cygwin distribution.  This wasn't true in earlier X11 releases, so is
>this a problem that needs to be fixed?  If this was on purpose, is it
>because it's impossible to export the class variables for widgets?
>Also, while looking at the source code and imake rules in the xc-*.tar
>files, I found the X code is using image-base in dllwrap to provide a
>default address to load each library.  Does this effect how the
>externing of global variables (so you don't to use that
>__declspec(__dllexport) and __declspec(__dllimport))
>Any help is appreciated.

The biggest help I can give you is to point you to the appropriate list.
Try posting this message to the cygwin-xfree mailing list where people
are more familiar with these types of issues.

I've cc'ed the mailing list with this response.


More information about the Cygwin-xfree mailing list