From: hamel@republique.saclay.cea.fr (jl Hamel)
Subject: Gnu-Win32 and Tcl/Tk
13 Dec 1996 07:26:16 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199612131403.PAA17664.cygnus.gnu-win32@republique.saclay.cea.fr>
Original-To: gnu-win32@cygnus.com
Original-Cc: hamel@republique.saclay.cea.fr
X-Sun-Charset: US-ASCII
Original-Sender: owner-gnu-win32@cygnus.com

Hello,

I have investigated more on this subject, since my precedent message.

I have successfully builded some test program linked against tcl76.dll
and tk42.dll (Borland made libraries). The .def files can be produced by
hand (editing the results of a strings command on the dlls) or using
the impdef utility of Borland.

These programs work fine (also with the GUI Tk interface) except two things :

- I don't know generate a "GUI only" application ; FAQ said :
	add "-ssubsystem windows" to the GCC or LD command line
  This don't work at all, this option is unreconized. I have found that
   ld (not gcc) recognize "--subsystem-windows", but without any effect...

- The programs crash at the end of execution with a page error in:
	cw3215.dll at 0137:004e3f66
  Probably there is something to do before loading the libraries (increase
  stack size ?) but I don't know what.
  Has anybody an idea about this ?

					JL Hamel
					hamel@republique.saclay.cea.fr
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
