Hi Mike, I now started with a fresh pil21 source and followed your updated macOS instructions. This time I got no error messages. Thanks!
My setup is this: macOS Mojave 10.14.6 llvm 11.0.0 libffi 3.3 ncurses 6.2 readline 8.0.4 I look forward to refresh my PicoLisp knowledge. ;-) /Jon > On 26 Oct 2020, at 18:13, Mike <tankf33...@disroot.org> wrote: > > October 26, 2020 10:08 AM, "Jon Kleiser" <jon.klei...@icloud.com> wrote: > >> Hi, >> >> Yesterday I tried installing pil21 on my Mac, following Mike Pechkin's >> instructions here: >> >> https://git.envs.net/mpech/pil21-tests/src/branch/master/INSTALL-.md >> >> Here’s the output from the last line: >> >> $ gcc sysdefs.c && ./a.out > ../lib/sysdefs >> sysdefs.c:45:21: error: use of undeclared identifier '_OS' >> printf("# %s\n", _OS); >> ^ >> sysdefs.c:46:21: error: use of undeclared identifier '_CPU' >> printf("# %s\n", _CPU); >> ^ >> 2 errors generated. >> >> And here’s the output from my first attempt to use pil: >> >> $ ../pil >> [../lib/net.l:3] !? (in (or "Alt" "@lib/sysdefs") (if (from (pack "^J[" >> "Sym" "]^J")) (while (and >> (skip) (<> "[" @)) (def (read) (read))) (quit "No sysdefs" "Sym"))) >> "@lib/sysdefs" -- Open error: No such file or directory >> ? >> : (version) >> 21.0.0 >> -> (21 0 0) >> : (bye) >> >> Is there some easy fix to get rid of these errors? >> > > I've updated and tested Macos compilation: > https://git.envs.net/mpech/pil21-tests/commit/fa7dee9050b736ecc9067433e3c0006b71a5e514 > > In general MacOs platform works except (native) interface. > It requires additional research in portability. > > (mike) > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe