Page 1 of 1
Does 'C' Backend require Xcode?
Posted: Thu Sep 22, 2022 7:58 pm
by davido
I have been happily using PureBasice 6.00LTS 'C' Backend since it arrived.
Today it stopped compiling with the error below.
Has anyone go any suggestions as to how this can be corrected?
PureBasic - Assembler error
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Apparently because The ‘gcc’ command requires the command line developer tools.
Re: Does 'C' Backend require Xcode?
Posted: Thu Sep 22, 2022 9:23 pm
by idle
I don't know as I don't run a mac but what are you doing that's different.
Are you importing any 3dr party code?
Re: Does 'C' Backend require Xcode?
Posted: Thu Sep 22, 2022 11:41 pm
by WilliamL
You can just install the 'Developer Tools' and not use XCode. When you fist run XCode it asks if you want to install them and that is an opportunity to install them. There are other methods but you'd have to Google it.
Otherwise, maybe you have some assembler code in your code, it won't run in 'C', or maybe try taking out (one-by-one) any 'Import' statements etc.
Re: Does 'C' Backend require Xcode?
Posted: Fri Sep 23, 2022 6:41 pm
by davido
Thank you both for your comments.
@
idle
I must admit that this was rather a shock; not too easy to think logically. However, in the intervening 24 hours I am sure that the program I was working on compiled perfectly just before I closed down on Wednesday. When I tried to compile the same program, on Thursday evening, the problem occurred. Clearly you are right and something has changed but I haven't yet worked out what it was.
@
WilliamL
I am sure I saw comments by Fred that XCode would not be required.
Before I decide to re-install everything I'll follow your good advice and install Xcode.
Re: Does 'C' Backend require Xcode?
Posted: Sat Sep 24, 2022 3:09 am
by fsw
With every update of macOS there is also a new version of Xcode.
If you update Xcode you have to update the command line developer tools at first start of the new version of Xcode.
Re: Does 'C' Backend require Xcode?
Posted: Sat Sep 24, 2022 6:51 pm
by davido
@
William L,
Did what you suggested: It works ok now.
@
fsw,
I didn't know that.
Thank you all for your help. It is very much appreciated.
