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,7e9e671b678b32cf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-31 01:16:46 PST From: "Dr. Michael Paus" Newsgroups: comp.lang.ada Subject: Re: Compiling AdaSockets for Windows XP Date: Tue, 31 Dec 2002 10:16:44 +0100 Organization: 1&1 Internet AG Message-ID: References: NNTP-Posting-Host: p50830956.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.online.de 1041326205 2245 80.131.9.86 (31 Dec 2002 09:16:45 GMT) X-Complaints-To: abuse@online.de NNTP-Posting-Date: 31 Dec 2002 09:16:45 GMT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en In-Reply-To: Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!schlund.de!news.online.de!not-for-mail Xref: archiver1.google.com comp.lang.ada:32401 Date: 2002-12-31T09:16:45+00:00 List-Id: Martin Dowie wrote: > "Dr. Michael Paus" wrote in message > news:aupk75$6io$1@news.online.de... > > >I am just trying to build the latest version of AdaSockets for > >Windows XP. However, it does not seem to be possible to create > >various necessary files without having a lot of other tools > >installed on the system. Would anybody be so kind and send me > >the generated source files for Windows XP? (Just Windows is > >probably enough. I don't think they differ from version to > >version.) The most important file is sockets-constants.ads. > > > >Many thanks in advance > > > >Michael > > > >PS: Why are these files not part of the distribution? > > > From what I can make out... > > The constants names are the same for pretty much all OS but the values > associated with the names differ between OS. Part of the distro is a utility > that creates the sockets-constants.ads file by actually building and running > a program that returns the actual values used on that machine. > > Have to agree though - I spent so long trying to get this to all work that > I just gave up and went back to v1! What you wrote is certainly right, especially for the different versions of UNIX like systems. But on UNIX you don't have a problem creating the necessary files because the required tools are already available. I did that already several times on various systems. However, the situation is different on Windows. The required tools are not directly available and so you cannot quickly build the two missing files. I also do not want to install these tools just for that pupose of getting some Ada program compiled because otherwise I don't need them. I normally don't do Ada development on Windows. In this particular case I just needed a piece of Ada software on Windows as a test driver for a piece of Java software I am currently developing and for Java development I use Eclipse and have no need for Cygwin or MSYS. The distribution already contains many OS specific files, so if the maintainers would just put in the two missing files for Windows nobody would have to go through the pain of installing a whole toolset for the only purpose to get a piece of Ada software compiled. Michael