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,529e3cf8c48385f1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.netfront.net!not-for-mail From: Alex Newsgroups: comp.lang.ada Subject: Re: Gnat GPL dotnet Date: Wed, 1 Apr 2009 19:03:22 +0000 (UTC) Organization: Netfront http://www.netfront.net Message-ID: References: NNTP-Posting-Host: 213.1.51.31 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: adenine.netfront.net 1238612602 53639 213.1.51.31 (1 Apr 2009 19:03:22 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Wed, 1 Apr 2009 19:03:22 +0000 (UTC) User-Agent: Pan/0.132 (Waxed in Black) Xref: g2news2.google.com comp.lang.ada:5365 Date: 2009-04-01T19:03:22+00:00 List-Id: On Wed, 01 Apr 2009 01:05:00 -0700, Ludovic Brenta wrote: > Alex wrote on comp.lang.ada >> Has anybody used the dotnet Gnat GPL version? I'm trying to compile a >> project with it and I get an error message saying the import pragma for >> mssyst.object does not refer to a subprogram or object. >> >> Has anybody had any similar experiences? > > Please show your code and the exact error message. I suspect you have a > pragma Import for a subprogram but forgot to declare that subprogram. Ludovic Thanks for the reply. Basically an RTFM problem. I was getting messages about not finding mssyst.ads and so I used the file that comes with mgnat (http://asharp.martincarlisle.com/) to get around this. After reading the manual I generated a new mssyst.ads using cil2ada - this worked OK then. Basically I was trying to mix mgnat with the dotnet version of GPS / gnat. Now that I'm just using the dotnet version of GPS / Gnat it works OK. However I am finding that I have to run dotnet-gnatmake from the commmand line - GPS runs gnatmake. Does anybody know how I can get GPS to call dotnet-gnatmake instead of the regular gnatmake? Thanks for anybody that can help iron out this last problem. It does work from the command line though so it's not a major worry. Cheers Alex