Re: macOS status

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

Great, thanks! Let me reproduce your success on macOS 12 first. (I'm not
very useful here except that I can be a good manual tester.)

Chun

On 01/02/24 10:13, Kirill A. Korinsky wrote:
> On Thu, 01 Feb 2024 00:00:28 +0100,
> Chun Tian (binghe) wrote:
>>
>> I think for Camm the only purposes of using MacPorts is to easily get
>> GCC and various open source tools installed in his Catalina box. For
>> examples, after a successful installation, a simple command like "sudo
>> port install gcc13" will get GCC installed, so is "gmp" and "git", etc.
>>
>> Then, if GCL can be successfully built by the normal workflow (i.e.
>> ./configure and make), then it's the job of MacPorts packager (Kirill)
>> to update the Portfile for GCL. I think there's no need to involve Camm
>> to the extra complexities of MacPorts including its long building paths.
>>
> 
> Well,
> 
> It requries some dancing with environment variables and configure options.
> 
> On macOS 12 I can build it outside of MacPorts with script like that:
> 
>   export CC='/usr/bin/clang'
>   export CFLAGS='-pipe -fno-pie -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wno-implicit-function-declaration -g -O0'
>   export CPATH='/opt/local/include'
>   export CPPFLAGS='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
>   export LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -fno-pie -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64'
>   export LIBRARY_PATH='/opt/local/lib'
>   export MACOSX_DEPLOYMENT_TARGET='12.0'
>   export SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
> 
>   ./configure --prefix=/opt/local \
>       --disable-notify \
>       --disable-statsysbfd \
>       --enable-ansi \
>       --enable-custreloc \
>       --enable-emacsdir=/opt/local/share/emacs/site-lisp/gcl \
>       --enable-infodir=/opt/local/share/info \
>       --enable-readline \
>       --disable-gprof \
>       --without-x \
>       --disable-xgcl \
>       --host=x86_64-apple-darwin \
>       --build=x86_64-apple-darwin \
>       --target=x86_64-apple-darwin
> 
>   make
> 
> not everything here is required, but it allows to build it with some degree of
> sucess and some "ugly patches".
> 
> But I think you're right. The right way is install dependencies via MacPorts and
> try to develop it outside.
>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEES+aY+4laoC0TwmVKFUkg2jrYR8gFAmW62m0ACgkQFUkg2jrY
R8iwwQ//UUhlxf+FB7ttRyWuvivoKk0I/slMGr3Out/Md11NjI/MPog6YAsu2ERw
C5nKR6luMqgD7pxUZKTfBR1M+tBpesO+JBOiRkL+9WgsaVpLQx9AASxs8QqgcnMk
xtUqBt4tKRXSF+5DiQQ55TGzJ753sATqyAGLU0mtq0o5lJX3seB8Ul3FXjgJYFJ/
5YdLxLnDJqtlq/qHjJLKdw6pANx98VT8KIbMZElCDv8bgSEc+NvCovBYJPkui2iS
YrAT7eQfIcItd5bqA4GiMoXH6dXYcrPnd+7H1+QpSpm85UCbLeZvJSgLVkNpdp7W
3Fk4DhoEYff0lTkPIrn4gv1Gmz9qSUpMZZAB3XUl955MPjUqPfPS/ckJ1G8IomL3
nga/z5gNQq9KoHsHT2QItj0O4/4BNE41Ny7JxIg014FkvPxcTRIfYzGconDff2p4
NBJV49xcAQwKtVQNo+xvyJnVypQhwE6CuPv1ZPiYiiTN1HfBa95oZF0SEjldbJHN
rD8MwZt1C1x6aMgXoSGVtkM5FTQF6s2DA+4kYeiOg2lDdYAYrOd6LVjGHEbiBJsF
MB1Bc7CtBvpzRRy28l6emuw/pvWcVwdcJsqORvBhjyk8OX3zmIhUrqSH+1yGyX0a
58z/d1r0dK1YI8HglMUE8LDfP7tIIYuLe8SLQ9NVYEmmboee+EE=
=BWd7
-----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.