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-7-bit Path: g2news1.google.com!postnews.google.com!e23g2000prf.googlegroups.com!not-for-mail From: petter_fryklund@hotmail.com Newsgroups: comp.lang.ada Subject: Re: Where is TASH? Date: Sun, 20 Jan 2008 02:47:35 -0800 (PST) Organization: http://groups.google.com Message-ID: <90d5ef1d-4650-4444-9eff-7ca634525b9c@e23g2000prf.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> NNTP-Posting-Host: 83.140.228.17 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1200826055 28712 127.0.0.1 (20 Jan 2008 10:47:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 20 Jan 2008 10:47:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e23g2000prf.googlegroups.com; posting-host=83.140.228.17; posting-account=ACEctQoAAAD3d42JSpp6_fpg88BhdFDo User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19475 Date: 2008-01-20T02:47:35-08:00 List-Id: On 20 Jan, 00:43, Simon Wright wrote: > petter_frykl...@hotmail.com writes: > > Thanks Simon, you are doing a great job! > > A pleasure (somewhat diminished by Windows ...) > > > I still have problems with linking, since I do not have any make > > installed, in fact I am reluctant to installing one. I would like to > > maintain my software using GPS and project files. Does anybody know > > how my -L should look like? Or is it erroneous pragma Imports, since > > I am on Windows? > > I think you're using tash841a? If so, there should be two .a's in the > src/ directory, libtcl84.a and libtk.a. These are what GNAT needs as > interfaces to tcl84.dll and tk84.dll -- at least, they would be for > the Cygwin versions. I'm having trouble rebuilding them for Cygwin > (EXCEPTION_ACCESS_VIOLATION when passing a chars_ptr, from memory), I > don't right now know whether the ones in the distribution would work > for me ... > > However, you say Tcl is in C:\Tcl so I suspect you have an ActiveState > release. Hmm, not sure how to go about that. Anyone? > > Anyway, it doesn't matter so much what -L is so long as it's right, > but you need to pass the libraries into the Linker as "-ltcl84", > "-ltk84". I think they are not .a's but .lib's, possibly because I am not a Cygwinner. If I keep the -L and add the -l, I am back at not finding the references Tcl_*. If I replace the -L with -l, the linker cannot find -ltcl84, so I am back at thinking that I have wrong names for the references, possibly because the sources I loaded was intended for *nix? Regards, Petter