comp.lang.ada
 help / color / mirror / Atom feed
From: Roger Mc <rogermcm2@gmail.com>
Subject: Re: for info: re macOS Ventura and GNAT
Date: Mon, 7 Nov 2022 15:15:08 -0800 (PST)	[thread overview]
Message-ID: <848a60b9-c3e1-4639-ad6b-93ab7308287fn@googlegroups.com> (raw)
In-Reply-To: <0001HW.2911A897005800F87000091D938F@news.individual.net>

On Wednesday, November 2, 2022 at 6:18:52 AM UTC+11, Bill Findlay wrote:
> I installed Ventura on my (Intel) MBP and it went perfectly, 
> with GNAT and fpc working as expected. 
> 
> Emboldened, I then put it on my (Intel) iMac, my workhorse machine. 
> 
> On reboot both GNAT (FSF 12.2.0) and fpc compilations failed. 
> 
> GNAT failed because /Library/Developer/CommandLineTools/usr/bin 
> had been emptied of everything useful. 
> 
> To fix it I had to completely re-install CommandLineTools, 
> which was more difficult than it should have been because 
> I had been removed from the sudoers file. 8-( 
> 
> GNAT now runs again, using the newly-installed CLT software, 
> and the exception-handling bug that appeared with the recent 
> XCode update has not made a re-appearance. 
> 
> fpc failed because it could not find libc any more, 
> so I had to edit my build procedure to tell it where to look 
> (i.e. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/). 
> 
> -- 
> Bill Findlay

Congratulations on Getting GNAT to work.
I am not having any success.
Everything fails with
gcc: error trying to exec 'gnat1': execvp: No such file or directory
For example:
Roger@Rogers-Mac-mini iris % gnatmake src/iris.adb       
gcc -c -Isrc/ -I- src/iris.adb
gcc: error trying to exec 'gnat1': execvp: No such file or directory
gnatmake: "src/iris.adb" compilation error

Same trying to compile a simple C program:
Roger@Rogers-Mac-mini /tmp % gcc /tmp/foo.c -o /tmp/foo
gcc: error trying to exec 'cc1': execvp: No such file or directory

Mac OSX 13.0 (22A380)
Xcode Version 14.1 (14B47b)
GNAT Community 2019 (20190517-83)
Latest Command Line Tools installed

Any ideas on what's going wrong or how to fix it?
Thanks,
Roger


      reply	other threads:[~2022-11-07 23:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-01 19:18 for info: re macOS Ventura and GNAT Bill Findlay
2022-11-07 23:15 ` Roger Mc [this message]
replies disabled

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