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,124f89c41e690cd3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news.glorb.com!dotsrc.org!news.dotsrc.org!not-for-mail Date: Fri, 11 Aug 2006 19:35:25 +0300 Subject: Re: Ada to Ada Pragma Export/Import From: "Martin Krischik" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Newsgroups: comp.lang.ada References: <1155161131.024343.273760@b28g2000cwb.googlegroups.com> <1155304977.485236.259010@m79g2000cwm.googlegroups.com> Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.00 (Win32) Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 213.154.202.110 X-Trace: news.sunsite.dk DXC=\l_\JA<@7`cNC=2oJ9U:hfYSB=nbEKnkk0R7fAh>ERCoS5daR30PdPeV:_8RJBabHm;O^i0GOe`^cofe`J\FNoJ`=fnI_O04QVo]01T`Rm1cHh X-Complaints-To: staff@sunsite.dk Xref: g2news2.google.com comp.lang.ada:6178 Date: 2006-08-11T19:35:25+03:00 List-Id: Am 11.08.2006, 17:02 Uhr, schrieb AskeyAJ@gmail.com : > Thanx to all who responded. I got it working without the pragma, but I > get a warning during the compile that the body does not exist. (I > thought this was a problem but I now see it is not.) This doesn't > matter as gnatbind and gnatlink work when I point to the .o and .ali > where the body was compiled. I suppose I could find a way to turn off > this warning during gnatmake if the other team complains. You might consider greating a library. The GNAT project manager can do this for most targest. When a library is created the .ads and .ali are together with the library file are automaticly copied into a distribution directory and made read only. Once they are read only GNAT will not try to compile them again. You then just send your customer the content of thar directoy and be done. See AdaCL [1] if you need examples on how to create the needed project manager (adacl.gpr) files. Martin [1] adacl.sf.net -- Martin Krischik krischik@users.sourceforge.net