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
<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?
/Jon