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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx09.iad.POSTED!not-for-mail From: Shark8 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:31.0) Gecko/20100101 Thunderbird/31.0a1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: gnatmake error I don't understand References: <85ha69ue15.fsf@stephe-leake.org> <9412dfa1-8fae-4396-b7cf-06ea9554de6c@googlegroups.com> In-Reply-To: <9412dfa1-8fae-4396-b7cf-06ea9554de6c@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <9QE%u.10627$Fj3.8408@fx09.iad> X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Fri, 04 Apr 2014 20:43:49 UTC Organization: TeraNews.com Date: Fri, 04 Apr 2014 14:43:48 -0600 X-Received-Bytes: 1464 X-Received-Body-CRC: 77383443 X-Original-Bytes: 1704 Xref: number.nntp.dca.giganews.com comp.lang.ada:185523 Date: 2014-04-04T14:43:48-06:00 List-Id: On 04-Apr-14 14:02, drrob106@gmail.com wrote: > How would I write the gpr file if I were to try to have the main program in the package, > as I've tried to do here? Hm, maybe a library-level rename? Something like: ADS-File ----------------------------------------- Procedure Main; ADB-File ----------------------------------------- with Parent; Procedure Main renames Parent.Subprogram; GPR-File ----------------------------------------- -- ... for Main use ("ADB-File.adb"); -- ... Sure the ADS-File may be extraneous, but won't hurt anything to my knowledge.