chibi-scheme icon indicating copy to clipboard operation
chibi-scheme copied to clipboard

Support for compiling for bare metal/embedded targets

Open chiefnoah opened this issue 2 years ago • 1 comments

I'm looking to embed chibi-scheme into an embedded system on bare metal (no OS, or a RTOS) but am running into problems related to <sys/socket.h>, -dl, and -lutil. Is it even possible to support a target like this without substantial rework?

chiefnoah avatar Feb 15 '23 04:02 chiefnoah

<sys/socket.h> is only needed for the shutdown logic in sexp_finalize_port, I can make that optional.

-ldl is already optional. I'm not sure if -lutil is needed for anything other than (chibi pty), let me double check.

ashinn avatar Feb 15 '23 13:02 ashinn