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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3db17e1869f3a33d X-Google-Attributes: gid103376,public From: michael@ifr.luftfahrt.uni-stuttgart.de Subject: Re: Ada95 Streams Question Date: 1996/06/28 Message-ID: <4r0ph3$2clm@info4.rus.uni-stuttgart.de>#1/1 X-Deja-AN: 162574345 references: <9606232338.AA12517@nile.gnat.com> <4qlshm$1j9e@info4.rus.uni-stuttgart.de> organization: Comp.Center (RUS), U of Stuttgart, FRG newsgroups: comp.lang.ada Date: 1996-06-28T00:00:00+00:00 List-Id: dewar@cs.nyu.edu (Robert Dewar) wrote: > [...] > All primitive data is converted to and from stream format using a simple > procedural interface (System.Stream_Attributes in files s-stratt.ad?) All > you need to do to get an architecture independent view of streams is to > replace this one unit (which has a very simple structure) with a different > one using, e.g. XDR, for data representation. I already had a look at that and it indeed appears to be quite straight forward to make the necessay changes. What I am not sure about is whether I can just substitute s-stratt.adb with a new XDR version or whether I will have to rebuild the compiler too. I just did not yet have the time to check that out (I admit that a look into the makefile should make that clear). > We intend to provide an XDR replacement for s-stratt.ad? in the near > future with some kind of configuratoin pragma to select which one you > want. Controlling the behaviour of the compiler with a configuration pragma is probably the best solution for this problem. > Well distribution may be homogenous or heterogenous. The Ada model is > certainly aimed at homogenous distribution, but extends fine to the > hetergenous case (we first demonstrated hetergenous distribution using > this annex nearly two years ago at Tri-Ada, running on Sun's and SGI's) That's interesting, because the current version of the distributed system annex does not work at all on an SGI (at least not on my one). Although it compiles and links out of the box I have not yet succeeded to get any of the examples working. On the Sun these examples do work without problems and so do my own ones. -- ------------------------------------------------------------------------ --Dipl.-Ing. Michael Paus (Member: Team Ada) --University of Stuttgart, Inst. of Flight Mechanics and Flight Control --Forststrasse 86, 70176 Stuttgart, Germany --Phone: (+49) 711-121-1434 FAX: (+49) 711-634856 --Email: Michael.Paus@ifr.luftfahrt.uni-stuttgart.de (NeXT-Mail welcome)