ashinn / chibi-scheme

Official chibi-scheme repository
Other
1.22k stars 141 forks source link

Support for compiling for bare metal/embedded targets #892

Open chiefnoah opened 1 year ago

chiefnoah commented 1 year ago

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?

ashinn commented 1 year ago

<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.