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!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: Thu, 26 May 2011 16:43:18 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: jF5lVz2yfkz5+kruO2w8BA.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:19488 Date: 2011-05-26T16:43:18+02:00 List-Id: 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 to= p = of the Makfile (in =E2=80=9Caunit-gpl-2010-src=E2=80=9D), I changed =E2=80= =9CGPRBUILD =3D gprbuild=E2=80=9D = into =E2=80=9CGPRBUILD =3D gprbuild --target=3Di686-linux-gnu=E2=80=9D,= and it did not = complained anymore. Still have some questions, still strange to me: the original line, = =E2=80=9CGPRBUILD =3D gprbuild=E2=80=9D, which does not contain any tar= get specification, = suggest GPRBuild should be able to use the current target as the default= = one (on Windows, this was indeed operating this way). I had a look at = =E2=80=9C/usr/share/gprconfig=E2=80=9D, and found a configuration file f= or GNAT, so looks = like its all there, while somethings are not the same anymore as before,= = like this configuration file for languages with no compiler (I remember = I = had to trick a bit for AdaControl files in a Windows project at that = time). If its not the same anymore, will have to look again and study al= l = of these files to understand why it does not properly handle a default = native target. Will try what Ludovic suggested, that is installing a pre-built package = = for AUnit, and leave that GPRBuild matters for some later times. -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9C c++; /* this makes c bigger but returns the old value */ =E2=80= =9D [Anonymous]