From: (see below) on
On 25/12/2009 17:32, in article
c7699bca-f565-4ae7-a3a1-3f5d4c4aec53(a)b2g2000yqi.googlegroups.com, "sjw"
<simon.j.wright(a)mac.com> wrote:

> On Dec 24, 7:20�pm, "(see below)" <yaldni...(a)blueyonder.co.uk> wrote:
>> On 24/12/2009 17:24, in article
>> 65af5bac-a490-4e08-b8e0-7d36030b7...(a)m25g2000yqc.googlegroups.com, "sjw"
>> <simon.j.wri...(a)mac.com> wrote:
>>> On Dec 24, 3:31�pm, "John B. Matthews" <nos...(a)nospam.invalid> wrote:
>>>> In article
>>>> <f0b47208-95f0-48ef-8184-9f36f2a2f...(a)a32g2000yqm.googlegroups.com>,
>>
>>>> �sjw <simon.j.wri...(a)mac.com> wrote:
>>>>> Each compiler I have installed lives in a different top-level
>>>>> directory. I set my path using
>>
>>>>> � $ export PATH=/opt/gnat-gpl-2009/bin:/usr/bin:/bin:/usr/sbin:/sbin
>>
>>>> FWIW, here's a bash shell script I use to show the current PATH and the
>>>> alternative. The checkPath() and removePath() functions could be used in
>>>> managing multiple versions:
>>
>>>> <http://home.roadrunner.com/~jbmatthews/gtk/lady.html#ada.sh>
>>
>>> Thanks for that.
>>
>>> I was meaning to reply specifically to Bill's query about possible
>>> clashes caused by multiple compiler installations.
>>
>> Well, I have deleted every copy of GNAT I could find, and downloaded
>> gnat-gpl-2009-i386-apple-darwin10.2.0-1.tar.bz2 afresh.
>>
>> My .profile sets the PATH to:
>>
>> PATH=/Users/wf/a2z/MPS/Cstage2:/Users/wf/ex-GU/HOCUS/sysdev/bin:/Users/wf/P r
>> ograms:/Users/wf/KDF9/emulation/testing:/Users/wf/a2z/Testing:/Users/wf/Pro g
>> rams/bin:/opt/gnat-gpl-2009/bin:/opt/local/sbin:/opt/local/bin:/usr/X11R6/b i
>> n:/usr/share:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
>>
>> which gnat gives /opt/gnat-gpl-2009/bin/gnat
>> which gcc gives /opt/gnat-gpl-2009/bin/gcc
>>
>> The error I reported on the "test" package has not gone away. 8-(
>
> I said 'gnatmake -f test -O1' etc, did you have any other options?

Many, many options. 8-)

gnatmake -j2 -I- -aI//Users/wf/a2z/Source/a -aI//Users/wf/Adalib/My/Bit_Sets
-aI//Users/wf/Adalib/My/Containers -aI//Users/wf/Adalib/My/Timing
-aI//Users/wf/Adalib/My/Distributor -aI//Users/wf/a2z/Source/shared
-aI//Users/wf/a2z/Source/a -aO//Users/wf/a2z/MacOSX -funwind-tables -g
-gnatfl05wawCwl -gnatoVa -O1 test -largs -lgcc_eh -bargs -Sev >comlog.ada

--
Bill Findlay
<surname><forename> chez blueyonder.co.uk


From: Jerry on
On Dec 24, 8:01 am, sjw <simon.j.wri...(a)mac.com> wrote:
> This turned out to work as hoped, result being that we can use Apple's
> GNAT-GPL-2009 on Snow Leopard;

Is this a typo?

Jerry
From: sjw on
On Dec 30, 3:12 am, Jerry <lancebo...(a)qwest.net> wrote:
> On Dec 24, 8:01 am, sjw <simon.j.wri...(a)mac.com> wrote:
>
> > This turned out to work as hoped, result being that we can use Apple's
> > GNAT-GPL-2009 on Snow Leopard;
>
> Is this a typo?

Yes, sorry; s/Apple/AdaCore/