Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 1 > Newsgroup comp.lang.ada

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-31-2009, 07:50 PM
Alex
Guest
 
Posts: n/a
Default Gnat GPL dotnet

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?
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 04-01-2009, 08:05 AM
Ludovic Brenta
Guest
 
Posts: n/a
Default Re: Gnat GPL dotnet

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 Brenta.
Reply With Quote
  #3 (permalink)  
Old 04-01-2009, 07:03 PM
Alex
Guest
 
Posts: n/a
Default Re: Gnat GPL dotnet

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
Reply With Quote
  #4 (permalink)  
Old 04-03-2009, 06:58 PM
anhvofrcaus@gmail.com
Guest
 
Posts: n/a
Default Re: Gnat GPL dotnet

On Apr 1, 12:03*pm, Alex <false_em...@dontwantspam.com> wrote:
> On Wed, 01 Apr 2009 01:05:00 -0700, Ludovic Brenta wrote:
>
> Does anybody know how I can get GPS to call dotnet-gnatmake instead of
> the regular gnatmake?
>

From the Project menu, select Edit Project Properties. Then, select
Languages tab of Properties window. From the Tools box, bottom left,
select the current compiler setting (Ada gnatmake line). Double click
on it. Select dotnet-gnatmake from the drop down menu box (Select new
value). Note that you can do the same for Gnatls, Gnat and Debugger.

Anh Vo
Reply With Quote
  #5 (permalink)  
Old 04-23-2009, 08:10 AM
Alex
Guest
 
Posts: n/a
Default Re: Gnat GPL dotnet

On Fri, 03 Apr 2009 11:58:07 -0700, anhvofrcaus wrote:

> On Apr 1, 12:03Â*pm, Alex <false_em...@dontwantspam.com> wrote:
>> On Wed, 01 Apr 2009 01:05:00 -0700, Ludovic Brenta wrote:
>>
>> Does anybody know how I can get GPS to call dotnet-gnatmake instead of
>> the regular gnatmake?
>>

> From the Project menu, select Edit Project Properties. Then, select
> Languages tab of Properties window. From the Tools box, bottom left,
> select the current compiler setting (Ada gnatmake line). Double click on
> it. Select dotnet-gnatmake from the drop down menu box (Select new
> value). Note that you can do the same for Gnatls, Gnat and Debugger.
>
> Anh Vo


Thanks for the tip - seems to be working OK now
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GNAT & GPS on Linpus Linux gautier_niouzes@hotmail.com Newsgroup comp.lang.ada 10 04-30-2009 10:09 AM



All times are GMT. The time now is 03:36 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.