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,bc4137777a63bff X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!newsreader1.level3.com!newsfeed1.dallas1.level3.net!news.level3.com!news.binc.net!clubley From: clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) Newsgroups: comp.lang.ada Subject: Re: Help needed for ada package Date: 4 Aug 2005 11:50:54 -0500 Organization: Encompasserve Message-ID: References: <2OudnZo-iL1aN3jfRVn-iQ@comcast.com> <1123173235.773051.23360@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1123174185 17568 192.135.80.34 (4 Aug 2005 16:49:45 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Thu, 4 Aug 2005 16:49:45 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:3964 Date: 2005-08-04T11:50:54-05:00 List-Id: In article <1123173235.773051.23360@z14g2000cwz.googlegroups.com>, "strictly_mk@hotmail.com" writes: > thank you for pointing that out, now I have one last question. The adb > file will compile but I only get a .o file as an output. How do I make > gnat output an executable instead? (I know that if i execute the code > as is I will not get anything) I just want to know so I can start > testing. > Are you using the gnatmake or gcc command to compile your code ? It sounds like you are doing the latter, but you want the former. Ie, if your main program is called mk_main.adb, you would issue the following command: gnatmake mk_main.adb Gnatmake will then compile and link files as required. Type gnatmake by itself to see the list of available options. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: The Standard Oil Company of the 21st century