Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support for compiling for bare metal/embedded targets #892

Open
chiefnoah opened this issue Feb 15, 2023 · 1 comment
Open

Support for compiling for bare metal/embedded targets #892

chiefnoah opened this issue Feb 15, 2023 · 1 comment

Comments

@chiefnoah
Copy link

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
Copy link
Owner

ashinn commented Feb 15, 2023

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants