From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e31421e8ee09dfa0 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!v4g2000hsf.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Where is TASH? Date: Tue, 22 Jan 2008 14:15:59 -0800 (PST) Organization: http://groups.google.com Message-ID: <47115098-0ffc-4cbc-8725-7e3d1d621022@v4g2000hsf.googlegroups.com> References: <7f327701-8cac-4525-81e3-41796d8ffc03@t1g2000pra.googlegroups.com> <85747d85-ac85-4771-8720-7f7e7e58f13d@f47g2000hsd.googlegroups.com> <478f4b5f$1@news.post.ch> <5084ea7f-0a27-44cc-8aca-ed10b50a2ed7@1g2000hsl.googlegroups.com> <5af53545-c761-4f72-a05d-4ed1d345a040@c23g2000hsa.googlegroups.com> <479504B5.1000704@obry.net> <4795965A.8040107@obry.net> <479620EE.7010200@obry.net> <2196dd2d-bf25-4787-bfae-45b94f9e2471@s13g2000prd.googlegroups.com> NNTP-Posting-Host: 62.49.19.209 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1201040160 28340 127.0.0.1 (22 Jan 2008 22:16:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 22 Jan 2008 22:16:00 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v4g2000hsf.googlegroups.com; posting-host=62.49.19.209; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19545 Date: 2008-01-22T14:15:59-08:00 List-Id: On Jan 22, 7:20=A0pm, 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)