Basic porting question
Fri Jun 27 17:52:00 GMT 1997
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).
Mumit -- email@example.com
Cc: Sven N. Thommesen
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".
More information about the Cygwin