Re: macOS status

"Chun Tian (binghe)" <[email protected]>
Newsgroups gmane.lisp.gcl.devel
Organization The Australian National University
Message-ID <[email protected]>
Greetings,

Sorry, I didn't know that 'xcodebuild' is only available when Xcode.app
is installed. Now I remember 'xcodebuild' is actually the command for
building Xcode projects (Apple GUI applications) from CLI.

If you only have the command line tools, I think the Apple clang version
can uniquely identify it. In my Catalina box it's 12.0.0 and in Sonoma
it's 15.0.0:

% clang -v
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

$ clang -v
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: x86_64-apple-darwin23.3.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

P.S. Now I can also build GCL 2.7.0 successfully on macOS 10.15 Catalina
outside of MacPorts. Thanks again. However, on Sonoma where MacPorts'
GCL 2.6.14 cannot build, GCL 2.7.0 also cannot build, saying something
like "ALLOCATION exceeds limits" (I didn't save logs from previous
builds, will provide more details again.)

Actually I didn't realized that GCL 2.6.14 package now can be installed
easily from MacPorts for all macOS versions from 10.6 to 13. That's
really great! I think it's time for me to first get AXIOM buildable with
external GCL 2.6.14 on macOS, first.

Chun

On 03/02/24 00:22, Camm Maguire wrote:
> Greetngs and thanks!
> 
> "Chun Tian (binghe)" <[email protected]> writes:
> 
>> Greetings!
>>
>> The command 'xcodebuild' can show the current active Xcode version, e.g.:
>>
>> $ /usr/bin/xcodebuild -version
>> Xcode 15.2
>> Build version 15C500b
>>
> 
> I get:
> 
> xcode-select: error: tool 'xcodebuild' requiers Xcode, but active
> developer directory '/Library/Developer/CommandLineTools' is a command
> line tools instance.
> 
> ???
> 
> Take care,
> 
>> And I don't think gprof is available in the MacPorts-installed GCC.
>> Perhaps that's why Kirill used --disable-gprof when calling "./configure".
>>
>> P.S. Very glad to hear the good news ("macports success")! I hope soon
>> the prebuilt GCL 2.7.0 binaries will be available to all MacPorts users
>> on various (recent) versions of macOS. (And I will use your debian
>> patches to build Axiom with external GCL.)
>>
>> --Chun
>>
>> On 02/02/24 04:18, Camm Maguire wrote:
>>> Greetings!
>>>
>>> "Chun Tian (binghe)" <[email protected]> writes:
>>>
>>>> @Camm, according to a 3rd-party Xcode release web site [1], the latest
>>>> Xcode supported on macOS Catalina is Xcode 12.4.  I think it won't hurt
>>>> your working macOS environment to install Xcode and its "command line
>>>> tools" if it prompts you to download and install on Xcode startup. (It's
>>>> the major and minor macOS version updates being dangerous.)  In short
>>>> words, to make the GCC installation from MacPorts actually work, the
>>>> command "xcode-select --install" must be executed once with the required
>>>> software installed, otherwise even "stdio.h" is not available to GCC.
>>>>
>>>
>>> xcode-select --install
>>>
>>> yields approximately
>>>
>>> 'command line tools are already installed, use "Software Update" to
>>> install updates.'
>>>
>>> How does one check the installed version?  What is "Software Update"?
>>>
>>> -lgcrt1.o (gprof, -pg) is missing from the MacPorts gcc13 package -- is it anywhere
>>> else?
>>>
>>> Take care,
>>>
>>>
>>>
>>>> [1] https://xcodereleases.com
>>>>
>>>> Chun
>>>>
>>>> On 31/01/24 06:19, Kirill A. Korinsky wrote:
>>>>> Greetings,
>>>>>
>>>>> On Tue, 30 Jan 2024 17:28:11 +0100,
>>>>> Camm Maguire wrote:
>>>>>>
>>>>>> I have an old mac virtualbox which I never use except at the last point
>>>>>> in gcl releases.  Nonetheless I have fired it up, and run into the
>>>>>> problem that sed cannot put newlines into the replacement text.  You
>>>>>> guys are surely past this point.  I know next to nothing about macosx
>>>>>> versions and software installations -- perhaps you could point me to a
>>>>>> hopefully painless way to upgrade this virtualbox image to the latest
>>>>>> reasonable without destroying it.
>>>>>
>>>>> The simplest way is using image that you have without any upgrade.
>>>>>
>>>>> If you install MacPorts you may use my not published port to reproduce it.
>>>>>
>>>>> The simplest way after instalation (without switching MacPorts to git) is:
>>>>>
>>>>> 1. Replace content of
>>>>>    /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/gcl/Portfile
>>>>>    into
>>>>>    https://raw.githubusercontent.com/catap/macports-ports/gcl-devel/lang/gcl/Portfile
>>>>>
>>>>> 2. Move to /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/port
>>>>>
>>>>> 3. Run portindex
>>>>>
>>>>> It adds gcl-devel port which you may build as `port build gcl-devel`.
>>>>>
>>>>> Portfile contains used gitcommit at line 78 and checksum at line 82.
>>>>>
>>>>> The simplest way to update it is:
>>>>> 1. Update git commit
>>>>> 2. Run `port bump gcl-devel`
>>>>>
>>>>> If you need access to a build folder you may find one as `port work gcl-devel`,
>>>>> and output log are available as `port logfile gcl-devel`.
>>>>>
>>>>> Keep in mind that after editing Portfile the work directory will be removed.
>>>>>
>>>>> --
>>>>> wbr, Kirill
>>>>>
>>>>
>>>
>>
>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEES+aY+4laoC0TwmVKFUkg2jrYR8gFAmW9QkYACgkQFUkg2jrY
R8hYrA/7Bvh49kpNNfcollkEgX4ZXebldcKX8xIYYASnsjhYtKy3lymUT0zpKolQ
vM52gbUjP8Cpj0YUJwlg2Zx86Pum+VpxTsXpsw/r804MSLpa8+4O7YA9Z31kiOef
Rb68rJgPeDDKxyWOoOI8ernDo1UrvUHX6Wt4JkGVljHfqb10HzPHbBDFdmt2fCXl
AhwjtBz/TAYu0xxUOL/siT8Ck5iWcCNBoaOsfAYLfsYP0xk9vVrHNcRV8MLYpwvg
2dJKyVvqI9EiAQ6NyO5PO16jip2ie7DbVvTIiEk8yJp7q64RykDEeBDRuVVSeuZO
h9rfuJZPYpgJ+vGytdKh7XAhg1+p6+AIdWYNfMV8ZDwPOCf4bFvJjHmn9mYH4RKv
qbNpMO7oLk1GgiWveVU+/W4FeP4fAM8BK3MEaDbRTxOM0oCCWGmLbjCNLrqdn3rC
B4r4bNLw/bbdTl3VwhL2y3LIZG6jcKEoI5u6hO816lTZqg1I5DNMKaYkFy83Q23f
DsxR1aLfjLrTV6YZOHi3dECBcP7oj+utJpFbgBQABn2+XI2AKDC31O32GUG1+nBL
QpZ3obBc4KcKMC+w+jeKX5fJJefD5S7DG7SzYTHOjr+IwaMAyfOndYuL3rDZUzbW
gKgKhvLtj11voIW84CJj6bX7XU317hKZ5hwcholAxF/S9j4Gcr8=
=ZlgB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.