delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/27/18:40:48

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: Basic porting question
27 Jun 1997 18:40:48 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.SUN.3.93.970627194453.17404A-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
Mime-Version: 1.0
Original-To: "Sven N. Thommesen" <sthomme AT humsci DOT auburn DOT edu>
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <3.0.32.19970626113512.009b5bf0@spidle2.humsci.auburn.edu>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

On Thu, 26 Jun 1997, Sven N. Thommesen wrote:

> At 11:13 PM 6/25/97 -0500, Mumit Khan wrote:
> >
> >Tcl/tk/blt etc does not build under gnu-win32. What is supplied are the
> >stubs to load the Tcl and Tk DLLs built with Borland (also MSVC++?).
> >
> 
> Well, to be dogged (and dense?) about it, assuming I'm cross-compiling
> under Linux for a win32 target, which of the current linux libraries may
> continue to be used, what parts are replaced by gnu-win32, and what parts
> must be rebuilt under windows to make things work: btl, tk, tcl, libtclobjc
> [glue between objective-c and tcl] and X ?
> 

The only linux libraries that you can continue to use are the ones that
are linked to the development tools (gcc et all) or dynamically loaded
by the dev tools. For the target executables (ie., your code) CANNOT use
linux libs, but has to link to target libraries. To answer you question,
all of the above.

I have a sneaking suspicion that if you modify your tcl/tk objc code to
use Tcl (de)allocation routines instead of malloc/new/free/delete, your
code will work just fine. (Caveat: this is just a hunch, since most of
the problem seems to due to incompatibility in the memory handling btwn
gnu-win32 and Borland run-time).

> 
> -Sven
> 

regards,
Mumit -- khan AT xraylith DOT wisc DOT edu
http://www.xraylith.wisc.edu/~khan/

Cc: Sven N. Thommesen


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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