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