[gtkada] GtkAda and distributed programming with gnat-glade?
Francisco Javier Loma Daza
Francisco.Loma at isotrol.com
Tue Apr 17 10:46:46 CEST 2001
El 12 Apr 2001 16:01:19 -0500, David C. Hoos, Sr. escribió:
> I'm sorry -- I thought the answer would be obvious from what
> I explained.
>
> I believe the problem is that the GtkAda library you're using wasn't
> compiled with the distributed runtime (GARLIC),so when you
> "with" GtkAda, you then get the problem
>
> ----- Original Message -----
> From: "Bobby D. Bryant" <bdbryant at mail.utexas.edu>
> To: <gtkada at gtkada.eu.org>
> Sent: Thursday, April 12, 2001 3:19 AM
> Subject: Re: [gtkada] GtkAda and distributed programming with gnat-glade?
>
>
> > "David C. Hoos, Sr." wrote:
> >
> > > My recollection is that gnat distributed programs indeed _DO_
> > > use a different version of s-stratt.adb (the stream attributes body)
> > > because distributed programs need platform-independent
> > > data representations on the transport medium.
> >
> > OK, I do see a second one at /usr/lib/ada/garlic-3.13p/s-stratt.adb.
> > However, it has an old date on it (both it and its .ali are dated 06-Jan),
> > and my compilation shouldn't be able to change it since I'm compiling from a
> > non-privileged account.
> >
> > Also, I don't see it underneath the local dsa/ subdirectory that gnatdist
> > creates when I compile. gnatdist does put an s-garela.adb and partition.adb
> > there, though I don't see anything in them that obviously affects
> > s-stratt.adb.
> >
> > Also, I would ass-u-me that the garlic variant of s-stratt.adb was already
> > being used when I compiled the program without any GtkAda dependencies. I
> > have a complete master-slave architecture that compiles and runs, until I try
> > to add a GUI. Any ideas about what might have changed when I with'd
> > Gtk.Window?
> >
> > Thanks,
> >
> > Bobby Bryant
> > Austin, Texas
> >
> >
> >
> > _______________________________________________
> > gtkada mailing list
> > gtkada at gtkada.eu.org
> > http://gtkada.eu.org/mailman/listinfo/gtkada
>
>
> _______________________________________________
> gtkada mailing list
> gtkada at gtkada.eu.org
> http://gtkada.eu.org/mailman/listinfo/gtkada
I have had the same problems. The body s-strattr.adb file is
duplicated in the gnat-glade and gnat distribution. The gnat
implements simple byte streams, and glade's implements XDR like
streams. If you remove one and recompile gnat, gnat-glade and
gtkada, you have a solution.
I have removed gnat-glade s-strattr.adb from gnat-glade distribution
and recompiled it, and it works for me, but of course for
homogeneous architectures.
The converse would force to compile gnat, gnat-glade and gtkada, but
you have a heterogeneus capable PCS (and bynary files?).
--
Francisco Javier Loma Daza
fjloma at isotrol.com
More information about the gtkada
mailing list