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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dbd95a41dd4f1d0e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-28 22:41:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!kibo.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Sockets Date: 29 May 2002 06:26:32 +0100 Organization: Pushface Sender: simon@smaug Message-ID: References: <3ceb5091@news.comindico.com.au> <5ee5b646.0205221834.653e070a@posting.google.com> <83iH8.97025$Po6.204052@rwcrnsc52.ops.asp.att.net> <5ee5b646.0205281725.256c9c5d@posting.google.com> NNTP-Posting-Host: pogner.demon.co.uk X-NNTP-Posting-Host: pogner.demon.co.uk:62.49.19.209 X-Trace: news.demon.co.uk 1022650845 nnrp-13:29423 NO-IDENT pogner.demon.co.uk:62.49.19.209 X-Complaints-To: abuse@demon.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: archiver1.google.com comp.lang.ada:24905 Date: 2002-05-29T06:26:32+01:00 List-Id: dewar@gnat.com (Robert Dewar) writes: > Simon Wright wrote in message news:... > > > It was quite simple to get GNAT.Sockets working on VxWorks (NB, if you > > are using 3.14p with VxWorks I think you may find that GNAT.Sockets > > assumes Linux conventions for various constants, which are different > > from VxWorks -- and for once Linux is out on a limb. I have a patch, > > originally for 3.14a1, mail me at simon.j.wright@amsjv.com) > > No, GNAT.Sockets does not assume Linux conventions. There are different > target dependent versions for various targets, including a VxWorks > specific set of units. We don't make judgments as to who is out on > a limb, but for sure there are differences and the current version > of GNAT.Sockets in GNAT Pro is implemented for all native targets > except OpenVMS, and all cross targets except Lynx (those two > will be filled in sometime in the near future). I did say 3.14{p,a1}! There was no official support for GNAT.sockets on VxWorks in 3.14a1 though the source was in the RTL, and (for the NT cross PPC 3.14a1) the version of GNAT.Sockets etc in the library was the Linux one, I'm pretty sure. And GNAT.Sockets.Constants had Linux constants in it. But it wasn't too hard to figure out, and we got it working with a day or so's effort. Of course anyone who wants to build a 3.14p/VxWorks cross is going to have fun. Might be more productive to try with GCC 3.1.