What is state of Ada compiler?

Jerry lanceboyle at qwest.net
Fri Sep 17 17:09:34 PDT 2010


On Sep 17, 2010, at 11:46 AM, Martin Krischik wrote:

> Am 17.09.10 10:44, schrieb Jerry:
>> What is the state of the Macports Ada compiler, GNAT? I recall a  
>> couple
>> years ago there was a bootstrapping problem since the compiler is
>> written in Ada. Is it possible to have a 64-bit compiler on OS X  
>> 10.5?
>> 10.6?
>>
>> The 2010 GPL edition from Adacore fixes the linking problem to BLAS  
>> and
>> LAPACK, meaning that there is a linker pragma specific to OS X that
>> finds those libraries so the user no longer has to do this. Also,  
>> that
>> edition fixes a problem with the non-blocking Get_Immediate (in the
>> past, it was blocking). Does Macports GNAT also fixe these problems?
>
> Currently I a stuck here:
>
> /../gcc-4.5.1/gcc/ada -I../../gcc-4.5.1/gcc/ada/gcc-interface
> ../../gcc-4.5.1/gcc/ada/ttypes.ads -o ada/ttypes.o
> /opt/gnat-2010-x86_64-apple-darwin9.6.0-bin/bin/gcc -c -g
> -fkeep-inline-functions  -gnatpg -gnata -gnatwns -nostdinc -I- -I. - 
> Iada
> -I../../gcc-4.5.1/gcc/ada -I../../gcc-4.5.1/gcc/ada/gcc-interface
> ../../gcc-4.5.1/gcc/ada/types.adb -o ada/types.o
> /opt/gnat-2010-x86_64-apple-darwin9.6.0-bin/bin/gcc -c -g
> -fkeep-inline-functions  -gnatpg -gnata -gnatwns -nostdinc -I- -I. - 
> Iada
> -I../../gcc-4.5.1/gcc/ada -I../../gcc-4.5.1/gcc/ada/gcc-interface
> ../../gcc-4.5.1/gcc/ada/uintp.adb -o ada/uintp.o
> uintp.adb:242:22: expect type "Hnum" defined at line 91
>
> AdaCore has changed the source incompatible - again. That means diff  
> the
> code with the GPL 2010 version and see if it can be patched.
>
>> Also, does Macports include GPS, GNAT Programming Studio, the
>> Ada-specific IDE?
>
> It will - if I ever get the compiler to work again. Help would be
> welcomed BTW.
>
> Martin
>
> -- 
> Martin Krischik
> mailto://krischik@macports.org
> http://trac.macports.org/wiki/krischik
>
Thanks for the update, Martin. FWIW, I discovered that AdaCore's 2010  
GPL does not contain C++. It looks like somebody forgot it. Somebody  
at comp.lang.ada said that the 2009 version had the same problem.
Jerry


More information about the macports-users mailing list