delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/09/15:39:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Steve Jorgensen <steve AT khoral DOT com>
Message-Id: <199911092038.NAA08481@benson>
Subject: X11 and shared libs again
To: cygwin AT sourceware DOT cygnus DOT com
Date: Tue, 9 Nov 1999 13:38:53 -0700 (MST)
X-Mailer: ELM [version 2.4 PL25]

	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 variables.

	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.

					Steve

-- 
-----------------------------------------------------------
Steven Jorgensen      steve AT khoral DOT com	    steve AT haunt DOT com
------------------------------+----------------------------
Khoral Research Inc.          | PHONE: (505) 837-6500
6200 Uptown Blvd, Suite 200   | FAX:   (505) 881-3842
Albuquerque, NM 87110         | URL: http://www.khoral.com/
-----------------------------------------------------------

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019