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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7a27b8f727dd1e47 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 09 Jun 2004 11:33:41 -0500 Date: Wed, 09 Jun 2004 12:33:41 -0400 From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT and no runtime References: <5ad0dd8a.0405260252.6523893f@posting.google.com> <3519454.Bj6hR9Rpgt@linux1.krischik.com> <5ad0dd8a.0405281242.535b9e7e@posting.google.com> <14117933.bn39bjDOdp@linux1.krischik.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 24.147.90.114 X-Trace: sv3-AMI9sJorbN2PUoTCzQ+aBT40cI/ngqs63VR6EJsKhCMwLiHrPTeAzqTf4MTtXGL3A5r0hWI6G/J3XLv!az26Ez+8eynMaBE6gHoYaUXZ+/Sxjofu4u0izNnBD4HE9Ex1+Ul0K0N6efWkqQ== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: g2news1.google.com comp.lang.ada:1323 Date: 2004-06-09T12:33:41-04:00 List-Id: Simon Wright wrote: >>In the end the hole thing failed. After compiling everything OK, >>GNAT moaned about my packages not been part of the predefined >>Library. > There are rules for packages that are amended parts of the library: > you need to compile with at least -gnatg, all warnings are treated as > errors .. but I would still have expected it to build. I've never > tried any _new_ units, though. Once you compile them correctly with -gnatg, you need to put them in the right two places. The .ali files go in (on Windows for GNAT 3.15p): C:\Program Files\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib and the .adb and .ads files in: C:\Program Files\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adainclude -- Robert I. Eachus "The terrorists rejoice in the killing of the innocent, and have promised similar violence against Americans, against all free peoples, and against any Muslims who reject their ideology of murder. Their barbarism cannot be appeased, and their hatred cannot be satisfied. There's only one way to deal with terror: We must confront the enemy and stay on the offensive until these killers are defeated." -- George W. Bush