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: a07f3367d7,1e320108e0f97d38 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Error when running gcc from GPS Date: Sat, 24 Apr 2010 19:46:57 +0200 Organization: A noiseless patient Spider Message-ID: <87pr1o2166.fsf@ludovic-brenta.org> References: <1186698a-854c-44cd-9111-eeae825015dd@11g2000yqr.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 24 Apr 2010 17:47:01 +0000 (UTC) Injection-Info: feeder.eternal-september.org; posting-host="FgbkVJ1HUmqDHKdOpAftlw"; logging-data="32060"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/W9tSF3BITUwVUyOIN87zm" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:ol7u4J6i2bzCoKkCZ5SxxWMrdYM= sha1:yoWgcIb+taO5A6Y1rQcBAAHcTRU= Xref: g2news2.google.com comp.lang.ada:11165 Date: 2010-04-24T19:46:57+02:00 List-Id: resander writes: > On Apr 24, 12:15 pm, Simon Wright wrote: >> resander writes: >> > 'Could not locate executable on path: gprbuild' >> >> > I have ticked the checkbox for language C in the >> > Languages tab in 'Edit Project Properties on the >> > Project menu. >> >> > I am guessing that 'executable' refers to gcc. >> >> No, it refers to gprbuild! >> >> > I did a search on gcc and found these: >> >> >   /usr/bin/gcc    -- linked to >> >   /usr/bin/gcc-4.3 >> >> >   /usr/bin/gnatgcc    -- linked to >> >   /usr/bin/gcc-4.3 (Caution: shameless plug ahead) These seem to be the executables installed by the Debian packages. Are you using Debian or a derivative thereof? Your problems seem to be a bad installation of GNAT GPL; I suggest you either re-install GNAT GPL properly, i.e. following the installation instructions _to the letter_, or upgrade to Debian GNU/Linux "testing" (soon to be released as 6.0 "Squeeze"). Thanks to Stephen Leake, Debian now includes gprbuild and installs it properly. All your problems would go away if you installed the following packages: gnat gnat-gps gprbuild You can do this with "aptitude install gnat gnat-gps gprbuild". (The entire purpose of a binary distribution like Debian is to ease the burden of installing and configuring software, so you don't have to troubleshoot such problems and can concentrate on your programming instead). -- Ludovic Brenta.