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,1670595127bef5a7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!newsfeed.stueberl.de!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Problem with GPS on Windows Date: Thu, 05 May 2005 06:27:58 +0100 Organization: Pushface Message-ID: References: <9jei71tv6pfjbtd5knn7s4nrmcfa138dkj@4ax.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1115270876 21963 62.49.19.209 (5 May 2005 05:27:56 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 5 May 2005 05:27:56 +0000 (UTC) Cancel-Lock: sha1:et0oR5r474dEIaEEB42Q7ob4nVg= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:10925 Date: 2005-05-05T06:27:58+01:00 List-Id: James Alan Farrell writes: > 2. Something seems incorrect with the project file: > When fixup the compiler command above to find gnatmake > I get the error: > > undefined attribute "Executable" > > This line is highlighted in the project file: > > for Executable ("hello.adb") use ""; > > When I remove this line and build from cmd, the program > builds fine. So why is this line being put in, and how can I > stop it? I don't know about that, but the relevant attributes are (eg) for Main use ("stairwell_demo"); for Exec_Dir use "."; (some versions of GPS needed the .adb extension on the main, I think this is fixed now). > I created the project using the GPS project wizard. Personally I would rather edit the project file with a text editor, having seen some truly mangled results! Never tried the wizard ..