comp.lang.ada
 help / color / mirror / Atom feed
* Where is TASH?
@ 2008-01-16 16:59 petter_fryklund
  2008-01-16 20:27 ` Ludovic Brenta
  2008-01-16 20:54 ` Simon Wright
  0 siblings, 2 replies; 41+ messages in thread
From: petter_fryklund @ 2008-01-16 16:59 UTC (permalink / raw)


Sourceforge seems to be hit by XXX. Is there any other download site
available?

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  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-16 20:54 ` Simon Wright
  1 sibling, 1 reply; 41+ messages in thread
From: Ludovic Brenta @ 2008-01-16 20:27 UTC (permalink / raw)


petter_fryklund@hotmail.com writes:

> Sourceforge seems to be hit by XXX. Is there any other download site
> available?
>
> Regards,
> Petter

The sources:

http://www.ada-france.org/debian/pool/libtash_8.4.1a.orig.tar.gz

and the Debian binary packages I made long ago for Sarge but never
maintained properly:

http://www.ada-france.org/debian/pool/libtash-dev_8.4.1a-1_i386.deb
http://www.ada-france.org/debian/pool/libtash-doc_8.4.1a-1_all.deb
http://www.ada-france.org/debian/pool/libtash8_8.4.1a-1_i386.deb
http://www.ada-france.org/debian/pool/libtash_8.4.1a-1.diff.gz
http://www.ada-france.org/debian/pool/libtash_8.4.1a-1.dsc
http://www.ada-france.org/debian/pool/libtash_8.4.1a-1_i386.changes

-- 
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-16 16:59 Where is TASH? petter_fryklund
  2008-01-16 20:27 ` Ludovic Brenta
@ 2008-01-16 20:54 ` Simon Wright
  2008-01-17  8:42   ` Jean-Pierre Rosen
  1 sibling, 1 reply; 41+ messages in thread
From: Simon Wright @ 2008-01-16 20:54 UTC (permalink / raw)


petter_fryklund@hotmail.com writes:

> Sourceforge seems to be hit by XXX. Is there any other download site
> available?

Afraid not.

Seems accessible at the moment -- not that SF is ever very fast from
here, and my ISP seems to be especially sluggish tonight!

--S



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-16 20:27 ` Ludovic Brenta
@ 2008-01-16 20:55   ` petter_fryklund
  2008-01-17  7:14     ` petter_fryklund
  0 siblings, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-16 20:55 UTC (permalink / raw)


On 16 Jan, 21:27, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:
> petter_frykl...@hotmail.com writes:
> > Sourceforge seems to be hit by XXX. Is there any other download site
> > available?
>
> > Regards,
> > Petter
>
> The sources:
>
> http://www.ada-france.org/debian/pool/libtash_8.4.1a.orig.tar.gz
>
> and the Debian binary packages I made long ago for Sarge but never
> maintained properly:
>
> http://www.ada-france.org/debian/pool/libtash-dev_8.4.1a-1_i386.debhttp://www.ada-france.org/debian/pool/libtash-doc_8.4.1a-1_all.debhttp://www.ada-france.org/debian/pool/libtash8_8.4.1a-1_i386.debhttp://www.ada-france.org/debian/pool/libtash_8.4.1a-1.diff.gzhttp://www.ada-france.org/debian/pool/libtash_8.4.1a-1.dschttp://www.ada-france.org/debian/pool/libtash_8.4.1a-1_i386.changes
>
> --
> Ludovic Brenta.

Thanks!



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-16 20:55   ` petter_fryklund
@ 2008-01-17  7:14     ` petter_fryklund
  0 siblings, 0 replies; 41+ messages in thread
From: petter_fryklund @ 2008-01-17  7:14 UTC (permalink / raw)


I tried SF from work, works fine now. I especially like the extensive
instructions on how to get started.

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-16 20:54 ` Simon Wright
@ 2008-01-17  8:42   ` Jean-Pierre Rosen
  2008-01-17  9:36     ` petter_fryklund
  0 siblings, 1 reply; 41+ messages in thread
From: Jean-Pierre Rosen @ 2008-01-17  8:42 UTC (permalink / raw)


Simon Wright a �crit :
> petter_fryklund@hotmail.com writes:
> 
>> Sourceforge seems to be hit by XXX. Is there any other download site
>> available?
> 
> Afraid not.
> 
Note that http://www.adatcl.com seems to have been taken over by 
something totally unrelated. Anyone knows what happened?

-- 
---------------------------------------------------------
            J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-17  8:42   ` Jean-Pierre Rosen
@ 2008-01-17  9:36     ` petter_fryklund
  2008-01-17 11:56       ` Jean-Pierre Rosen
  0 siblings, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-17  9:36 UTC (permalink / raw)


I used: http://tcladashell.sourceforge.net/docs.htm





^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-17  9:36     ` petter_fryklund
@ 2008-01-17 11:56       ` Jean-Pierre Rosen
  2008-01-17 12:34         ` Martin Krischik
  0 siblings, 1 reply; 41+ messages in thread
From: Jean-Pierre Rosen @ 2008-01-17 11:56 UTC (permalink / raw)


petter_fryklund@hotmail.com a �crit :
> I used: http://tcladashell.sourceforge.net/docs.htm
> 
but http://tcladashell.sourceforge.net/ seems to have been pirated too

-- 
---------------------------------------------------------
            J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-17 11:56       ` Jean-Pierre Rosen
@ 2008-01-17 12:34         ` Martin Krischik
  2008-01-17 13:22           ` petter_fryklund
  2008-01-18  0:56           ` Simon Wright
  0 siblings, 2 replies; 41+ messages in thread
From: Martin Krischik @ 2008-01-17 12:34 UTC (permalink / raw)


Jean-Pierre Rosen schrieb:
> petter_fryklund@hotmail.com a écrit :
>> I used: http://tcladashell.sourceforge.net/docs.htm
>>
> but http://tcladashell.sourceforge.net/ seems to have been pirated too

One could of course register an user remove the WikiSPAM.

Apart from that I encourage every Wiki to ban unregistered users. On 
newer MediWikis I would even ban non E-mail-confirmed users.

Martin
-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  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:56           ` Simon Wright
  1 sibling, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-17 13:22 UTC (permalink / raw)


The link I originally found was http://tcladashell.sourceforge.net/,
what I called the Sourceforge, perhaps erroneously. I know very little
about SF. I later used the http://tcladashell.sourceforge.net/docs.htm
link, which I had saved in Favourites at work and it worked fine.

I am not a frequent user of Wiki either, but I have started to read
some ... If I had known how, I would have reported the spam. Is there
any documentation on how to work with Wiki?

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-17 13:22           ` petter_fryklund
@ 2008-01-17 16:05             ` petter_fryklund
  2008-01-18  0:54               ` Simon Wright
  0 siblings, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-17 16:05 UTC (permalink / raw)


Well finding page was worth nothing, download links are missing :( I
would have liked zip, since on Vista ...

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-17 16:05             ` petter_fryklund
@ 2008-01-18  0:54               ` Simon Wright
  2008-01-18 18:27                 ` Pascal Obry
  0 siblings, 1 reply; 41+ messages in thread
From: Simon Wright @ 2008-01-18  0:54 UTC (permalink / raw)


petter_fryklund@hotmail.com writes:

> Well finding page was worth nothing, download links are missing :( I
> would have liked zip, since on Vista ...

OK, OK already! I've uploaded the historical 8.3.2, 8.4.1 releases so
that there is at least something there.

Winzip understands .tar.gz .. so does PowerArchiver, nice
alternative. If Vista native doesn't .. well, the 8.4.1 release is a
zip file.

The point is, I'm still working on tcladashell and didn't think I was
at a release-worthy stage .. hmm, forgot about 'release early and
often' .. 



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-17 12:34         ` Martin Krischik
  2008-01-17 13:22           ` petter_fryklund
@ 2008-01-18  0:56           ` Simon Wright
  2008-01-18  7:10             ` Martin Krischik
  2008-01-19  8:18             ` Simon Wright
  1 sibling, 2 replies; 41+ messages in thread
From: Simon Wright @ 2008-01-18  0:56 UTC (permalink / raw)


Martin Krischik <krischik@users.sourceforge.net> writes:

> Jean-Pierre Rosen schrieb:
>> petter_fryklund@hotmail.com a �crit :
>>> I used: http://tcladashell.sourceforge.net/docs.htm
>>>
>> but http://tcladashell.sourceforge.net/ seems to have been pirated too
>
> One could of course register an user remove the WikiSPAM.
>
> Apart from that I encourage every Wiki to ban unregistered users. On
> newer MediWikis I would even ban non E-mail-confirmed users.

May be easier to move to SF's own wiki engine. Yet another %(^*^& wiki
markup to learn ...

Thanks for fixing the trashed page.



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-18  0:56           ` Simon Wright
@ 2008-01-18  7:10             ` Martin Krischik
  2008-01-18 16:05               ` petter_fryklund
  2008-01-19  8:18             ` Simon Wright
  1 sibling, 1 reply; 41+ messages in thread
From: Martin Krischik @ 2008-01-18  7:10 UTC (permalink / raw)


Simon Wright schrieb:
> Martin Krischik <krischik@users.sourceforge.net> writes:
> 
>> Jean-Pierre Rosen schrieb:
>>> petter_fryklund@hotmail.com a écrit :
>>>> I used: http://tcladashell.sourceforge.net/docs.htm
>>>>
>>> but http://tcladashell.sourceforge.net/ seems to have been pirated too
>> One could of course register an user remove the WikiSPAM.
>>
>> Apart from that I encourage every Wiki to ban unregistered users. On
>> newer MediWikis I would even ban non E-mail-confirmed users.
> 
> May be easier to move to SF's own wiki engine. Yet another %(^*^& wiki
> markup to learn ...

Indeed. Otherwise it is less maintenance trouble and it comes with 
popper user management. Not that MediaWiki does not - it can just be 
troublesome - I once tried to set up E-Mail confirmations and failed.

Martin

-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-18  7:10             ` Martin Krischik
@ 2008-01-18 16:05               ` petter_fryklund
  2008-01-18 20:06                 ` Ludovic Brenta
  0 siblings, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-18 16:05 UTC (permalink / raw)


I used Zipeg.

SInce I do not have any make, and hopefully will not nedd one, I
created my gpr file in src directory and compiled all TASH packages. I
then created:-

with "../src/tash";
project Plang is

   for Languages use ("Ada");
   for Source_Dirs use (".");
   for Object_Dir use ".";
   for Exec_Dir use "..\bin";
   for Main use ("plang.adb");

   package Builder is
      for Default_Switches ("ada") use ("-g", "-gnatQ");
   end Builder;

   package Binder is
      for Default_Switches ("ada") use ("-static");
   end Binder;

   package Linker is
      for Default_Switches ("ada") use ("-g", "-L C:\Tcl\lib
\tcl84.lib");
   end Linker;

   package Compiler is
      for Default_Switches ("Ada") use ("-g", "-gnato", "-fstack-
check", "-gnatVa");
   end Compiler;
end Plang;

in the apps directory and tried to build the Plang program, but the -L
was not effective in resolving references to ie
Tcl_AppendStringsToObj. What am I doing wrong this time?

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-18  0:54               ` Simon Wright
@ 2008-01-18 18:27                 ` Pascal Obry
  0 siblings, 0 replies; 41+ messages in thread
From: Pascal Obry @ 2008-01-18 18:27 UTC (permalink / raw)
  To: Simon Wright

Simon Wright a �crit :
> Winzip understands .tar.gz .. so does PowerArchiver, nice
> alternative. If Vista native doesn't .. well, the 8.4.1 release is a
> zip file.

<OT plug>

The best archiver for Windows is probably 7zip. It understand lot of 
formats (.zip, .tar, .gz, .bz2...), come with nice explorer, as Windows 
shell integration and it is Open Source GNU/LGPL. 7zip also supports its 
own compression format better than anything else!

http://www.7-zip.org/

A must for Windows users I would say.

</OT plug>

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-18 16:05               ` petter_fryklund
@ 2008-01-18 20:06                 ` Ludovic Brenta
  2008-01-19 16:34                   ` petter_fryklund
  0 siblings, 1 reply; 41+ messages in thread
From: Ludovic Brenta @ 2008-01-18 20:06 UTC (permalink / raw)


petter_fryklund@hotmail.com writes:
> I used Zipeg.
>
> SInce I do not have any make, and hopefully will not nedd one, I
> created my gpr file in src directory and compiled all TASH packages. I
> then created:-
>
....
>    package Linker is
>       for Default_Switches ("ada") use ("-g", "-L C:\Tcl\lib
> \tcl84.lib");
>    end Linker;
....
> in the apps directory and tried to build the Plang program, but the
> -L was not effective in resolving references to ie
> Tcl_AppendStringsToObj. What am I doing wrong this time?

I think you need to remove the space after -L.

-- 
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-18  0:56           ` Simon Wright
  2008-01-18  7:10             ` Martin Krischik
@ 2008-01-19  8:18             ` Simon Wright
  2008-01-19 15:36               ` petter_fryklund
  1 sibling, 1 reply; 41+ messages in thread
From: Simon Wright @ 2008-01-19  8:18 UTC (permalink / raw)


Simon Wright <simon.j.wright@mac.com> writes:

> May be easier to move to SF's own wiki engine. Yet another %(^*^&
> wiki markup to learn ...

Done. The old MediaWiki is still there, but I think I've moved
everything over (not a huge task!).

Syntax not too different, the fact that it has so few features helps!



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-19  8:18             ` Simon Wright
@ 2008-01-19 15:36               ` petter_fryklund
  2008-01-19 23:43                 ` Simon Wright
  2008-01-20 19:02                 ` sjw
  0 siblings, 2 replies; 41+ messages in thread
From: petter_fryklund @ 2008-01-19 15:36 UTC (permalink / raw)


Thanks Simon, you are doing a great job!

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?

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-18 20:06                 ` Ludovic Brenta
@ 2008-01-19 16:34                   ` petter_fryklund
  0 siblings, 0 replies; 41+ messages in thread
From: petter_fryklund @ 2008-01-19 16:34 UTC (permalink / raw)


On 18 Jan, 21:06, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:
> petter_frykl...@hotmail.com writes:
> > I used Zipeg.
>
> > SInce I do not have any make, and hopefully will not nedd one, I
> > created my gpr file in src directory and compiled all TASH packages. I
> > then created:-
>
> ....
> >    package Linker is
> >       for Default_Switches ("ada") use ("-g", "-L C:\Tcl\lib
> > \tcl84.lib");
> >    end Linker;
> ....
> > in the apps directory and tried to build the Plang program, but the
> > -L was not effective in resolving references to ie
> >Tcl_AppendStringsToObj. What am I doing wrong this time?
>
> I think you need to remove the space after -L.
>
> --
> Ludovic Brenta.- Dölj citerad text -
>
> - Visa citerad text -

No, that was not the problem. Must be something else.

I appreciate the help one get here very much! I hope I someday may
return the favours!

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  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
  1 sibling, 1 reply; 41+ messages in thread
From: Simon Wright @ 2008-01-19 23:43 UTC (permalink / raw)


petter_fryklund@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".



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-19 23:43                 ` Simon Wright
@ 2008-01-20 10:47                   ` petter_fryklund
  0 siblings, 0 replies; 41+ messages in thread
From: petter_fryklund @ 2008-01-20 10:47 UTC (permalink / raw)


On 20 Jan, 00:43, Simon Wright <simon.j.wri...@mac.com> 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



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-19 15:36               ` petter_fryklund
  2008-01-19 23:43                 ` Simon Wright
@ 2008-01-20 19:02                 ` sjw
  2008-01-21 15:46                   ` petter_fryklund
  2008-01-21 20:46                   ` Pascal Obry
  1 sibling, 2 replies; 41+ messages in thread
From: sjw @ 2008-01-20 19:02 UTC (permalink / raw)


On Jan 19, 3:36 pm, petter_frykl...@hotmail.com wrote:
> Thanks Simon, you are doing a great job!
>
> 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?
>
> Regards,
> Petter

You could install the gpl make from the AdaCore libre site (under
tools, I think ..)

However,  I've just had a happy 3 hours (see
http://tcladashell.wiki.sourceforge.net/DevelopingOnWindows2000) and
the conclusion -- assuming you are using ActiveState's Tcl, please
confirm! -- is that you probably need to say

  -LC:\Tcl\lib -ltk84 -ltcl84

(that's what worked for me; GNAT GPL 2007 is happy with .lib files --
when did that happen?)

--S
(First posting via Google Groups, blasted news.demon.co.uk seems
always to fall over on Sundays!)



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-20 19:02                 ` sjw
@ 2008-01-21 15:46                   ` petter_fryklund
  2008-01-21 16:10                     ` petter_fryklund
  2008-01-21 20:46                   ` Pascal Obry
  1 sibling, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-21 15:46 UTC (permalink / raw)


On 20 Jan, 20:02, sjw <simon.j.wri...@mac.com> wrote:
> On Jan 19, 3:36 pm, petter_frykl...@hotmail.com wrote:
>
> > Thanks Simon, you are doing a great job!
>
> > 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?
>
> > Regards,
> > Petter
>
> You could install the gpl make from the AdaCore libre site (under
> tools, I think ..)
>
> However,  I've just had a happy 3 hours (seehttp://tcladashell.wiki.sourceforge.net/DevelopingOnWindows2000) and
> the conclusion -- assuming you are using ActiveState's Tcl, please
> confirm! -- is that you probably need to say
>
>   -LC:\Tcl\lib -ltk84 -ltcl84
>
> (that's what worked for me; GNAT GPL 2007 is happy with .lib files --
> when did that happen?)
>
> --S
> (First posting via Google Groups, blasted news.demon.co.uk seems
> always to fall over on Sundays!)




^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-21 15:46                   ` petter_fryklund
@ 2008-01-21 16:10                     ` petter_fryklund
  2008-01-21 17:22                       ` Jean-Pierre Rosen
  0 siblings, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-21 16:10 UTC (permalink / raw)


This is very strange! Yes, I've downloaded Tcl/Tk 8.4 from
ActiveState. I use the switches you use, Simon, resulting in
gnatlink c:\users\petter\ada\tash\apps\plang.ali -g -LC:\Tcl\lib -
ltcl84 -ltk84 -o c:\users\petter\ada\tash\bin\plang.exe
This still can not find Tcl_GetRefCount and others similar. I loaded
Tash once again, but cannot see any differences.

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-21 16:10                     ` petter_fryklund
@ 2008-01-21 17:22                       ` Jean-Pierre Rosen
  0 siblings, 0 replies; 41+ messages in thread
From: Jean-Pierre Rosen @ 2008-01-21 17:22 UTC (permalink / raw)


petter_fryklund@hotmail.com a �crit :
> This is very strange! Yes, I've downloaded Tcl/Tk 8.4 from
> ActiveState. I use the switches you use, Simon, resulting in
> gnatlink c:\users\petter\ada\tash\apps\plang.ali -g -LC:\Tcl\lib -
> ltcl84 -ltk84 -o c:\users\petter\ada\tash\bin\plang.exe
> This still can not find Tcl_GetRefCount and others similar. I loaded
> Tash once again, but cannot see any differences.
> 
This rings a very distant bell...
I seem to remember that you can download Tcl in tasking or non-tasking 
version, and that the tasking version does not work with Tash.
-- 
---------------------------------------------------------
            J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-20 19:02                 ` sjw
  2008-01-21 15:46                   ` petter_fryklund
@ 2008-01-21 20:46                   ` Pascal Obry
  2008-01-21 22:20                     ` sjw
  1 sibling, 1 reply; 41+ messages in thread
From: Pascal Obry @ 2008-01-21 20:46 UTC (permalink / raw)
  To: sjw

sjw a �crit :
> (that's what worked for me; GNAT GPL 2007 is happy with .lib files --
> when did that happen?)

Well it never happened :) The fact is that at some point the GNU binary 
utilities were able to read *some* .lib file but there is severe 
limitations. Some MS specific sections cannot be linked for example.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-21 20:46                   ` Pascal Obry
@ 2008-01-21 22:20                     ` sjw
  2008-01-22  7:08                       ` Pascal Obry
  0 siblings, 1 reply; 41+ messages in thread
From: sjw @ 2008-01-21 22:20 UTC (permalink / raw)


On Jan 21, 8:46 pm, Pascal Obry <pas...@obry.net> wrote:
> sjw a écrit :
>
> > (that's what worked for me; GNAT GPL 2007 is happy with .lib files --
> > when did that happen?)
>
> Well it never happened :) The fact is that at some point the GNU binary
> utilities were able to read *some* .lib file but there is severe
> limitations. Some MS specific sections cannot be linked for example.

The GNAT documentation that came with GPL-2007 (Windows) was where I
got this from, there wasn't any limitation mentioned there. Anyway,
it seems we can get away with it with Tcl.



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-21 22:20                     ` sjw
@ 2008-01-22  7:08                       ` Pascal Obry
  2008-01-22  7:21                         ` petter_fryklund
  2008-01-22 22:05                         ` sjw
  0 siblings, 2 replies; 41+ messages in thread
From: Pascal Obry @ 2008-01-22  7:08 UTC (permalink / raw)
  To: sjw

sjw a �crit :

> The GNAT documentation that came with GPL-2007 (Windows) was where I
> got this from, there wasn't any limitation mentioned there. Anyway,
> it seems we can get away with it with Tcl.

Well I wrote a good part of the Windows sections. So I know what I'm 
talking about :) Are you saying then that the .lib is an import library 
(as opposed to plain static library)? In that case yes it should work.

Note also that we recent GNAT versions you can even link directly 
against a shared library (.dll) built with the GNU toolset.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-22  7:08                       ` Pascal Obry
@ 2008-01-22  7:21                         ` petter_fryklund
  2008-01-22 16:59                           ` Pascal Obry
  2008-01-22 22:05                         ` sjw
  1 sibling, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-22  7:21 UTC (permalink / raw)


Is there anyway to obtain a listing of the contents of a .lib file? I
do not understand why I cannot link with same options as Simon, unless
my .lib's are broken in some way. Not that I can understand how that
could happen. Is there any OS service used when linking that is
different between Vista and XP? I tried to link as admin, but was not
better ;-) I will try building on my laptop using XP, but I first need
to upgrade to GPL-2007.

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-22  7:21                         ` petter_fryklund
@ 2008-01-22 16:59                           ` Pascal Obry
  2008-01-22 19:20                             ` petter_fryklund
  0 siblings, 1 reply; 41+ messages in thread
From: Pascal Obry @ 2008-01-22 16:59 UTC (permalink / raw)
  To: petter_fryklund

petter_fryklund@hotmail.com a �crit :
> Is there anyway to obtain a listing of the contents of a .lib file? I

Microsoft dumpbin tool. For import libraries you can try GNU/nm.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-22 16:59                           ` Pascal Obry
@ 2008-01-22 19:20                             ` petter_fryklund
  2008-01-22 22:15                               ` sjw
  0 siblings, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-22 19:20 UTC (permalink / raw)


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?



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-22  7:08                       ` Pascal Obry
  2008-01-22  7:21                         ` petter_fryklund
@ 2008-01-22 22:05                         ` sjw
  2008-01-23  8:30                           ` Pascal Obry
  1 sibling, 1 reply; 41+ messages in thread
From: sjw @ 2008-01-22 22:05 UTC (permalink / raw)


On Jan 22, 7:08 am, Pascal Obry <pas...@obry.net> wrote:
> sjw a écrit :
>
> > The GNAT documentation that came with GPL-2007 (Windows) was where I
> > got this from, there wasn't any limitation mentioned there. Anyway,
> > it seems we can get away with it with Tcl.
>
> Well I wrote a good part of the Windows sections. So I know what I'm
> talking about :) Are you saying then that the .lib is an import library
> (as opposed to plain static library)? In that case yes it should work.

This is in F.7 .. I think it has to be an import library, full of
symbols like
00000000 T _TclpThreadExit
00000000 I __imp__TclpThreadExit

> Note also that we recent GNAT versions you can even link directly
> against a shared library (.dll) built with the GNU toolset.

I can say -LC:/Tcl/lib (in which case I guess it sees tcl84.lib) or -
LC:/Tcl/bin (in which case it has to be seeing tcl84.dll).



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-22 19:20                             ` petter_fryklund
@ 2008-01-22 22:15                               ` sjw
  2008-01-23 12:30                                 ` petter_fryklund
  0 siblings, 1 reply; 41+ messages in thread
From: sjw @ 2008-01-22 22:15 UTC (permalink / raw)


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)



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-22 22:05                         ` sjw
@ 2008-01-23  8:30                           ` Pascal Obry
  0 siblings, 0 replies; 41+ messages in thread
From: Pascal Obry @ 2008-01-23  8:30 UTC (permalink / raw)
  To: sjw

sjw a �crit :
> This is in F.7 .. I think it has to be an import library, full of
> symbols like
> 00000000 T _TclpThreadExit
> 00000000 I __imp__TclpThreadExit

Yes this is an import library.

> I can say -LC:/Tcl/lib (in which case I guess it sees tcl84.lib) or -
> LC:/Tcl/bin (in which case it has to be seeing tcl84.dll).

The later. But tcl84.dll must be built with the binutils tools or at 
least if built with Microsoft toolset one should not have played with 
removing the @nn suffix for example as this would break the exported 
symbol names.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-22 22:15                               ` sjw
@ 2008-01-23 12:30                                 ` petter_fryklund
  2008-01-23 12:44                                   ` Pascal Obry
  0 siblings, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-23 12:30 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-23 12:30                                 ` petter_fryklund
@ 2008-01-23 12:44                                   ` Pascal Obry
  2008-01-23 12:58                                     ` petter_fryklund
  0 siblings, 1 reply; 41+ messages in thread
From: Pascal Obry @ 2008-01-23 12:44 UTC (permalink / raw)
  To: petter_fryklund

petter_fryklund@hotmail.com a �crit :
> I tried this quickly while having lunch at home, but first found that
> stdio.h was missing. 

Which compiler are you using? GNAT comes with GCC/C and all the C 
include files on Windows.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-23 12:44                                   ` Pascal Obry
@ 2008-01-23 12:58                                     ` petter_fryklund
  2008-01-23 13:07                                       ` Pascal Obry
  0 siblings, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-23 12:58 UTC (permalink / raw)


On 23 Jan, 13:44, Pascal Obry <pas...@obry.net> wrote:
> petter_frykl...@hotmail.com a écrit :
>
> > I tried this quickly while having lunch at home, but first found that
> > stdio.h was missing.
>
> Which compiler are you using? GNAT comes with GCC/C and all the C
> include files on Windows.
>
> Pascal.
>
> --
>
> --|------------------------------------------------------
> --| Pascal Obry                           Team-Ada Member
> --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
> --|------------------------------------------------------
> --|              http://www.obry.net
> --| "The best way to travel is by means of imagination"
> --|
> --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

I downloaded GPL-2007 from libre.

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-23 12:58                                     ` petter_fryklund
@ 2008-01-23 13:07                                       ` Pascal Obry
  2008-01-23 13:17                                         ` petter_fryklund
  0 siblings, 1 reply; 41+ messages in thread
From: Pascal Obry @ 2008-01-23 13:07 UTC (permalink / raw)
  To: petter_fryklund

petter_fryklund@hotmail.com a �crit :
> I downloaded GPL-2007 from libre.

So you have all include files
into <gnat_root>/pentium-mingw32msv/include.

You may try setting C_INCLUDE_PATH to point to this directory. But GCC 
should find it but itself. Are you sure the gcc used is the one from 
GNAT GPL 2007? Be sure the PATH to this compiler comes first if you have 
multiple compiler installed.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-23 13:07                                       ` Pascal Obry
@ 2008-01-23 13:17                                         ` petter_fryklund
  2008-01-23 20:49                                           ` petter_fryklund
  0 siblings, 1 reply; 41+ messages in thread
From: petter_fryklund @ 2008-01-23 13:17 UTC (permalink / raw)


On 23 Jan, 14:07, Pascal Obry <pas...@obry.net> wrote:
> petter_frykl...@hotmail.com a écrit :
>
> > I downloaded GPL-2007 from libre.
>
> So you have all include files
> into <gnat_root>/pentium-mingw32msv/include.
>
> You may try setting C_INCLUDE_PATH to point to this directory. But GCC
> should find it but itself. Are you sure the gcc used is the one from
> GNAT GPL 2007? Be sure the PATH to this compiler comes first if you have
> multiple compiler installed.
>
> Pascal.
>
> --
>
> --|------------------------------------------------------
> --| Pascal Obry                           Team-Ada Member
> --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
> --|------------------------------------------------------
> --|              http://www.obry.net
> --| "The best way to travel is by means of imagination"
> --|
> --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

I will try this when I get home...

I now remember some cryptic statement about things could go bad if
installing 2007 over 2006. SHould have been mre careful :(

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Where is TASH?
  2008-01-23 13:17                                         ` petter_fryklund
@ 2008-01-23 20:49                                           ` petter_fryklund
  0 siblings, 0 replies; 41+ messages in thread
From: petter_fryklund @ 2008-01-23 20:49 UTC (permalink / raw)


C_INCLUDE_PATH did not help. Changing PATH did not help. But setting
C_... and using it did ;-)
C:\GNAT\2007\bin\gcc -c -g -O2 -I%C_INCLUDE_PATH% -IC:\Tcl\include
tclmacro.c
but i was not home yet, still could not find contents of tclmacro.o =8-
O

Switches to gnatlink had to include path to tclmacro.o!

Regards,
Petter



^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2008-01-23 20:49 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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