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,CP1252 Path: g2news2.google.com!postnews.google.com!y12g2000yqh.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Erroneous installation for GPRBuild on Ubuntu ? Date: Fri, 27 May 2011 00:04:13 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1306479853 26787 127.0.0.1 (27 May 2011 07:04:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 27 May 2011 07:04:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y12g2000yqh.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009012111 Red Hat/3.0.6-1.el5 Firefox/3.0.6,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:20478 Date: 2011-05-27T00:04:13-07:00 List-Id: Yannick Duch=EAne wrote on comp.lang.ada: > You're right, that's OK with an explicit target specification. At the top= =A0 > of the Makfile (in =93aunit-gpl-2010-src=94), I changed =93GPRBUILD =A0= =3D gprbuild=94 =A0 > into =93GPRBUILD =A0=3D gprbuild --target=3Di686-linux-gnu=94, and it did= not =A0 > complained anymore. > > Still have some questions, still strange to me: the original line, =A0 > =93GPRBUILD =A0=3D gprbuild=94, which does not contain any target specifi= cation, =A0 > suggest GPRBuild should be able to use the current target as the default = =A0 > one (on Windows, this was indeed operating this way). I had a look at =A0 > =93/usr/share/gprconfig=94, and found a configuration file for GNAT, so l= ooks =A0 > like its all there, while somethings are not the same anymore as before, = =A0 > like this configuration file for languages with no compiler (I remember I= =A0 > had to trick a bit for AdaControl files in a Windows project at that =A0 > time). If its not the same anymore, will have to look again and study all= =A0 > of these files to understand why it does not properly handle a default = =A0 > native target. I suspect this might be related to a change that Ubuntu made relative to the original Debian. Debian uses i486-linux-gnu, Ubuntu changed that to i686-linux-gnu. Of course, without detailed symptoms or access to an Ubuntu system, I cannot tell for sure. -- Ludovic Brenta.