Re: Branch Version_2_7_0pre

"Kirill A. Korinsky" <[email protected]>
Newsgroups gmane.lisp.gcl.devel
Message-ID <[email protected]>
With a few hacks (see attached patches) I was able to build it on macOS 12.

Anyway, it failed on start as:

cp init_raw.lsp foo
echo "(unless si::*quit-tags* (in-package \"USER\")(system:save-system \"saved_pre_gcl\"))" >>foo
ar x libpre_gcl.a $(ar t libpre_gcl.a |grep ^gcl_)
/Users/catap/src/gcl/gcl/unixport/raw_pre_gcl /Users/catap/src/gcl/gcl/unixport/ -libdir /Users/catap/src/gcl/gcl/ < foo
GCL (GNU Common Lisp)  April 1994  9465290 pages
Building symbol table for /Users/catap/src/gcl/gcl/unixport/raw_pre_gcl ..
loading /Users/catap/src/gcl/gcl/unixport/../lsp/gcl_export.lsp
loading /Users/catap/src/gcl/gcl/unixport/../lsp/gcl_defmacro.lsp
loading /Users/catap/src/gcl/gcl/unixport/../lsp/gcl_evalmacros.lsp
loading /Users/catap/src/gcl/gcl/unixport/../lsp/gcl_top.lsp
UNDEFINED-FUNCTION NIL SETQ   NAME KCL-SELF
Lisp initialization failed.
[ "" = "" ] || \
		! [ -x /usr/bin/objdump ] || \
		! /usr/bin/objdump -f saved_pre_gcl | grep "file format" | grep "elf" || \
		! /usr/bin/objdump -R saved_pre_gcl |grep R_.*_COPY || \
		! echo "saved_pre_gcl cannot be prelinked"
rm raw_pre_gcl
cd unixport && echo '(time (let ((*features* (cons :pre-gcl *features*)))(load "boot.lisp")(si::save-system "saved_pre_gcl_temp")))' | ./saved_pre_gcl
/bin/sh: ./saved_pre_gcl: No such file or directory


--
wbr, Kirill



> On 21. Dec 2023, at 16:21, Kirill A. Korinsky <[email protected]> wrote:
> 
> first attempt to build it failed. I've used 5c7512ca471742c4e86894a3c6b5d93d02d31956 as local root with a few notes.
> 
> 1. It required to --disable-gprof because configure failed with error:
> clang: error: the clang compiler does not support -pg option on versions of OS X 10.9 and later
> 
> 2. It required to --disable-readline because configure failed with error:
> In file included from conftest.c:89:
> In file included from /opt/local/include/readline/readline.h:36:
> /opt/local/include/readline/rltypedefs.h:71:29: error: unknown type name 'FILE'
> 
> after that build had failed with errors:
> 
> print.d:582:7: error: expected expression
>       short sh=p->b.p_queue[mod(p->b.p_qh+1)];
>       ^
> print.d:584:7: error: use of undeclared identifier 'sh'
>       sh<<=1;sh>>=1;
>       ^
> print.d:584:14: error: use of undeclared identifier 'sh'
>       sh<<=1;sh>>=1;
>              ^
> print.d:585:7: error: use of undeclared identifier 'sh'
>       sh+=(c==CURRENT ? p->b.p_col : p->b.p_indent_stack[p->b.p_isp-1]);/*lb*/
>       ^
> print.d:586:7: error: use of undeclared identifier 'sh'
>       sh=sh<0 ? 0 : sh;
>       ^
> print.d:586:10: error: use of undeclared identifier 'sh'
>       sh=sh<0 ? 0 : sh;
>          ^
> print.d:586:21: error: use of undeclared identifier 'sh'
>       sh=sh<0 ? 0 : sh;
>                     ^
> print.d:587:41: error: use of undeclared identifier 'sh'
>       p->b.p_indent_stack[p->b.p_isp] = sh;
>                                         ^
> print.d:1683:4: error: expected expression
>           object y=structure_to_list(x);
>           ^
> 9 errors generated.
> 
> --
> wbr, Kirill
>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3/KLNtcfWfLw7JxqmNjZhndZIm4FAmWEfIYACgkQmNjZhndZ
Im7vMxAAg2jakhmWrJOt+62B4OtPkcjkyMicCDTphhlHJgU6QhIplEqPXTcj8+S6
iZUGg9B/5Nhvab6ZzhUsB0pcudaXAj/Fe+DXpRLfTiT6ylgAt0cuKaSXbRPIIUlv
ocmXvhd21aG6qwSJolMQum2nD3IKHu9E3FT2i2JZ8XT4hQCvgQeVGZu2RYOSfgjs
Q3J324oxLV/P4B4aBCZHGqfq1F6FiF2/DGtQu3N5txMYAeY+R+NLxf9hEN8vksuc
UDwHW88lfpjTwTZFWZ6uI3w3xPxa7y91xCeM7P2WdVCoct5UUpU3o/NXFVmePOcY
E6BxrlsOXbpjnPwsepUozFlnLIQeWosQrgg1hXScIGG9OKLN9DlhhZXSEgibi0Y9
dn5A3ZP0l/mEKTe7FG0qH0u6fkvK2QAKJ3BUVnYIVfFkzhKV1uyVJh/UxDZsFtYZ
xcfPF8aafEejvzTLMN81gnU80hfhoLfwhGYwMS7QqIhzl/IxHesUYr8cJyrWxGsV
VZomsw512gyr1ld2aOyLBoyc6e/Nokvl7gw0nLitv+pZpDK8eEIt3q5D3XBBBmSO
Qc5+9Fu7GYJ2rqIpSVXqPBIpe3AzLxTghDrGKxYNPP+HqRAS6NHoiwdjdRE5HGFf
NDhGr/TCxSTR1Sy9rm4p4h9CPkdOeDokKE93OwfyFMXdtMaWmSg=
=Wzn3
-----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.