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-Thread: 103376,91555f701b8550cf X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.net!trnddc05.POSTED!da33a4ab!not-for-mail From: Fionn mac Cuimhaill Newsgroups: comp.lang.ada Subject: Re: ASIS for MinGW GNAT Message-ID: References: <1171738.pmnUZjaDWg@linux1.krischik.com> X-Newsreader: Forte Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 12 Feb 2005 18:05:43 GMT NNTP-Posting-Host: 4.41.197.98 X-Complaints-To: abuse@verizon.net X-Trace: trnddc05 1108231543 4.41.197.98 (Sat, 12 Feb 2005 13:05:43 EST) NNTP-Posting-Date: Sat, 12 Feb 2005 13:05:43 EST Xref: g2news1.google.com comp.lang.ada:8287 Date: 2005-02-12T18:05:43+00:00 List-Id: On Sat, 12 Feb 2005 09:26:44 +0100, Martin Krischik wrote: >Fionn mac Cuimhaill wrote: > >> I presume that this is a non-trivial project. Otherwise, it could >> reasonable expected to be already be a part of MinGW. > >I am unsure if the MinGW maintainers are interested in ASIS. However, if you >are successful I make you a maintainer and you can make binary releases at >sourceforge > > ... snip ... It turned out to be simpler than I expected. I built ASIS on my Windows XP development computer. I downloaded the MinGW Ada source, (which is v 3.4.2,) and your newest ASIS. After extracting both, I found that ASIS already had the relevant parts of the GNAT Ada compiler extracted into various subdirectories, one for each of several versions of the compiler. 3.4.2 was missing. I created the appropriate subdirectory, and, using one of the other directories as a model, I copied all of the appropriate GNAT source files into the ASIS 3.4.2 subdirectory . I copied the asis_install.bat to asi_install.cmd and used that to install ASIS. I needed to do only two minor changes to the existing configuration to build ASIS: 1. asis_install needed the compiler sources to be moved upstairs one directory level. 2. The version.c file was not being compiled. I added one line to asis_install.cmd, immediately after this line: gnatmake -c -I../gnat -I../asis -g -O2 install_asis.adb The new line is: gcc -c ../gnat/version.c There was one compilation warning about a variable possibly being used before it was initialized. I now have a working gnatstub, which was what I wanted.