Roger Mc Murtrie <[email protected]> writes:
> I ran gprconfig -v -v and have attached its results.
Ok.
> gcc -dumpversion just gives:
> 4.3.4
>
> gcc -dumpmachine gives:
> i386-apple-darwin10.2.0
>
> If I don't use PATH=/opt/gnat-gpl-2009/bin:$PATH
> gcc -v tells me that, Target: i686-apple-darwin10
> and
> gcc -dumpmachine gives:
> i686-apple-darwin10
Ok.
> On 26/04/2010, at 7:39 AM, Stephen Leake wrote:
>>
>> Hmm. I think I spoke too quickly.
>>
>> The issue is what target is it looking for - that seems to be
>> i386-apple-darwin10.3.0 - and what targets is it finding.
In the output of gprconfig -v -v, it says:
Only compilers matching target i386-apple-darwin10.3.0 will be preserved
Then later, for each compiler, it says:
Target for this compiler does not match --target
I think that means this is a packaging bug; the gprbuild in (your copy
of) GNAT GPL 2009 is looking for i386-apple-darwin10.3.0, but the gcc
provided says it is i386-apple-darwin10.2.0. You should submit a bug
report to whereever you got this; I don't see it on
https://libre.adacore.com/ (only x86_64-darwin).
Note that gprconfig considers all versions of 'gcc' that are in PATH; it
will go faster (and produce more concise output) if there is only one
gcc in your PATH (use 'type -a gcc' to check).
The default target is hard-coded in the gprbuild executable, but you
should be able to override it by specifying
--target=i386-apple-darwin10.2.0 on the gprconfig line.
Try that. And include the complete gprconfig line in the next response
(but here's hoping there is not a next response :).
--
-- Stephe
_______________________________________________
qtada-users mailing list
[email protected]
http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com