comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Erroneous installation for GPRBuild on Ubuntu ?
Date: Thu, 26 May 2011 16:43:18 +0200
Date: 2011-05-26T16:43:18+02:00	[thread overview]
Message-ID: <op.vv3e6gcdule2fv@douda-yannick> (raw)
In-Reply-To: m2aae97iuz.fsf@pushface.org

Le Thu, 26 May 2011 14:21:24 +0200, Simon Wright <simon@pushface.org> 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.

Still have some questions, still strange to me: the original line,  
“GPRBUILD  = gprbuild”, which does not contain any target 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  
“/usr/share/gprconfig”, and found a configuration file for 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 all  
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’est pas pour  
les chiens.
“ c++; /* this makes c bigger but returns the old value */ ” [Anonymous]



  reply	other threads:[~2011-05-26 14:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26  1:16 Erroneous installation for GPRBuild on Ubuntu ? Yannick Duchêne (Hibou57)
2011-05-26  8:21 ` Ludovic Brenta
2011-05-26 15:03   ` Yannick Duchêne (Hibou57)
2011-05-26 15:09     ` Yannick Duchêne (Hibou57)
2011-05-26 12:21 ` Simon Wright
2011-05-26 14:43   ` Yannick Duchêne (Hibou57) [this message]
2011-05-27  7:04     ` Ludovic Brenta
2011-05-27 11:39     ` Stephen Leake
2011-05-27 13:49       ` Yannick Duchêne (Hibou57)
2011-05-27 12:34     ` Ludovic Brenta
2011-05-27 11:33 ` Stephen Leake
2011-05-27 13:44   ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox