comp.lang.ada
 help / color / mirror / Atom feed
From: sjw <simon.j.wright@mac.com>
Subject: Re: Where is TASH?
Date: Tue, 22 Jan 2008 14:15:59 -0800 (PST)
Date: 2008-01-22T14:15:59-08:00	[thread overview]
Message-ID: <47115098-0ffc-4cbc-8725-7e3d1d621022@v4g2000hsf.googlegroups.com> (raw)
In-Reply-To: 2196dd2d-bf25-4787-bfae-45b94f9e2471@s13g2000prd.googlegroups.com

On Jan 22, 7:20 pm, petter_frykl...@hotmail.com wrote:
> I tried the nm tool. I had not noticed carefully enought, but was only
> missing a few routines: Tcl_GetRefCount, Tcl_CallDecrRefCount,
> Tcl_CallIncrRefCount, Tcl_GetObjTypeName and Tcl_PrintObj, neither of
> which are present in tcl84.lib so it seems like TASH needs another
> Tcl?

Light has dawned.

If you look in src/ of the tcladashell code you'll find two C files,
tclmacro.c and tkmacro.c. Compile these with gcc (the one build in to
GNAT would be best),
   gcc -c -g -O2 -IC:/Tcl/include tclmacro.c
   gcc -c -g -O2 -IC:/Tcl/include  tkmacro.c
and include the resulting objects in your link.

The top of tclmacro.c says
/*
 * tclmacro.c --
 *
 *    This file encapsulates calls to all tcl.h macro functions into C
 *    function calls.  These can then be called from Ada.  This avoids
 *    having to translate the macro.

--S

(by the way, ActiveState only seem to have the threaded version: the
one I have is ActiveTcl8.4.17.0.283511-win32-ix86-threaded.exe)



  reply	other threads:[~2008-01-22 22:15 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 16:59 Where is TASH? petter_fryklund
2008-01-16 20:27 ` Ludovic Brenta
2008-01-16 20:55   ` petter_fryklund
2008-01-17  7:14     ` petter_fryklund
2008-01-16 20:54 ` Simon Wright
2008-01-17  8:42   ` Jean-Pierre Rosen
2008-01-17  9:36     ` petter_fryklund
2008-01-17 11:56       ` Jean-Pierre Rosen
2008-01-17 12:34         ` Martin Krischik
2008-01-17 13:22           ` petter_fryklund
2008-01-17 16:05             ` petter_fryklund
2008-01-18  0:54               ` Simon Wright
2008-01-18 18:27                 ` Pascal Obry
2008-01-18  0:56           ` Simon Wright
2008-01-18  7:10             ` Martin Krischik
2008-01-18 16:05               ` petter_fryklund
2008-01-18 20:06                 ` Ludovic Brenta
2008-01-19 16:34                   ` petter_fryklund
2008-01-19  8:18             ` Simon Wright
2008-01-19 15:36               ` petter_fryklund
2008-01-19 23:43                 ` Simon Wright
2008-01-20 10:47                   ` petter_fryklund
2008-01-20 19:02                 ` sjw
2008-01-21 15:46                   ` petter_fryklund
2008-01-21 16:10                     ` petter_fryklund
2008-01-21 17:22                       ` Jean-Pierre Rosen
2008-01-21 20:46                   ` Pascal Obry
2008-01-21 22:20                     ` sjw
2008-01-22  7:08                       ` Pascal Obry
2008-01-22  7:21                         ` petter_fryklund
2008-01-22 16:59                           ` Pascal Obry
2008-01-22 19:20                             ` petter_fryklund
2008-01-22 22:15                               ` sjw [this message]
2008-01-23 12:30                                 ` petter_fryklund
2008-01-23 12:44                                   ` Pascal Obry
2008-01-23 12:58                                     ` petter_fryklund
2008-01-23 13:07                                       ` Pascal Obry
2008-01-23 13:17                                         ` petter_fryklund
2008-01-23 20:49                                           ` petter_fryklund
2008-01-22 22:05                         ` sjw
2008-01-23  8:30                           ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox