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,FREEMAIL_FROM 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!news4.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.78.MISMATCH!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Erroneous installation for GPRBuild on Ubuntu ? Date: Fri, 27 May 2011 15:49:29 +0200 Organization: Ada @ Home Message-ID: References: <824o4g8j9v.fsf@stephe-leake.org> NNTP-Posting-Host: b7NxRzGgpBNKFlvVWk2OfA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.01 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:19522 Date: 2011-05-27T15:49:29+02:00 List-Id: Le Fri, 27 May 2011 13:39:24 +0200, Stephen Leake = a =C3=A9crit: > "Yannick Duch=C3=AAne (Hibou57)" writes: > >> Le Thu, 26 May 2011 14:21:24 +0200, Simon Wright = >> a =C3=A9crit: >>> With, >>> >>> $ /opt/gnat-gpl-2010-x86_64/bin/gprbuild \ >>> --target=3Dx86_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 =E2=80=9Caunit-gpl-2010-src=E2=80=9D), I chang= ed =E2=80=9CGPRBUILD =3D >> gprbuild=E2=80=9D into =E2=80=9CGPRBUILD =3D gprbuild --target=3Di6= 86-linux-gnu=E2=80=9D, 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. Not, was the Debian/Ubuntu package -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [Ep= igrams on = Programming =E2=80=94 Alan J. =E2=80=94 P. Yale University] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [Idem] =E2=80=9Cc++; /* this makes c bigger but returns the old value */=E2=80=9D= [Anonymous]