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,93e9f244fd8e7db4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Erroneous installation for GPRBuild on Ubuntu ? References: Date: Fri, 27 May 2011 07:39:24 -0400 Message-ID: <824o4g8j9v.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) Cancel-Lock: sha1:VESPVhckA11/0uoehwHp3DF6mDY= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 2007e4ddf8d6ce029e66126476 Xref: g2news1.google.com comp.lang.ada:19511 Date: 2011-05-27T07:39:24-04:00 List-Id: "Yannick Duchêne (Hibou57)" writes: > Le Thu, 26 May 2011 14:21:24 +0200, Simon Wright > a écrit: >> With, >> >> $ /opt/gnat-gpl-2010-x86_64/bin/gprbuild \ >> --target=x86_64-apple-darwin10 -P default >> gcc -c -g -gnatQ -gnato -fstack-check -g acc.adb >> [...] > > You're right, that's OK with an explicit target specification. At the > top of the Makfile (in “aunit-gpl-2010-src”), I changed “GPRBUILD = > gprbuild” into “GPRBUILD = gprbuild --target=i686-linux-gnu”, and it > did not complained anymore. Ah. This implies that by "official packages" you meant AdaCore, not Ubuntu. Yes, that doesn't get the target right. I fixed this problem in packaging gprbuild for Debian. Install the Ubuntu gprbuild package, and things will be fine. You should always search for Debian/Ubuntu packages before downloading anything. If you don't find what you want, ask here; someone might be working on it. We need to get more Ada packages into Debian. -- -- Stephe