7 Commits

Author SHA1 Message Date
adfd238ee2 Updating build to hopefully allow OSX builds.
dlsym opcode modified so that 0 for library is converted
to RTLD_DEFAULT as the two don't match on Darwin.

Made errno an opcode, as previous method depended on Linux internals.
[1] https://opensource.apple.com/source/xnu/xnu-201/osfmk/libsa/errno.h.auto.html
[2] https://pubs.opengroup.org/onlinepubs/9699919799/functions/errno.html
Placed errno in internals and then alias inside posix vocabulary,
as it seemed a waste to have another builtin stub for one symbol.
Arguably maybe dlsym should be that way too, but leaving for now.

Added OS make variable to conditionally set flags.
Set stripping / minimization options based on it.

Based off of
https://github.com/flagxor/ueforth/pull/3
Thanks Ulrich!
2023-01-21 20:11:42 -08:00
d78953151a Tweaking include order to avoid b0, b1, etc. macro clash, bump version. 2023-01-14 23:14:01 -08:00
2f79192ea0 Refactor fault handling. 2023-01-14 22:28:38 -08:00
09fb5b9bb9 Restructure more to allow tiers. 2022-07-13 21:31:01 -07:00
4cc02ffc96 Automate g_sys structure handling for web. 2022-07-10 21:25:22 -07:00
3b27ff93bb Move g_sys to the forth heap. 2022-07-10 14:13:51 -07:00
fb47179999 Re-root site. 2022-02-27 20:59:19 -08:00