comp.lang.ada
 help / color / mirror / Atom feed
From: petter_fryklund@hotmail.com
Subject: Re: Where is TASH?
Date: Wed, 23 Jan 2008 04:30:04 -0800 (PST)
Date: 2008-01-23T04:30:04-08:00	[thread overview]
Message-ID: <00967b84-56a1-48df-b5be-7d1f01a742a2@j20g2000hsi.googlegroups.com> (raw)
In-Reply-To: 47115098-0ffc-4cbc-8725-7e3d1d621022@v4g2000hsf.googlegroups.com

On 22 Jan, 23:15, sjw <simon.j.wri...@mac.com> wrote:
> 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)

I tried this quickly while having lunch at home, but first found that
stdio.h was missing. I wouldn't dream of putting one there ;-), so I
investigated if someone else had. There is only one, the one that came
with Tcl. But when I use that one, I get tons of other errors. I am
thinking of writing my own macro elimination using Ada. Is it wise?

Regards,
Petter



  reply	other threads:[~2008-01-23 12:30 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
2008-01-23 12:30                                 ` petter_fryklund [this message]
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