Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Portability #2

Open
simonlindholm opened this issue Aug 21, 2014 · 0 comments
Open

Portability #2

simonlindholm opened this issue Aug 21, 2014 · 0 comments

Comments

@simonlindholm
Copy link
Contributor

Librcd currently only supports x86_64 Linux. Porting to other platforms (esp. Windows) would be a large undertaking and probably break some abstractions, and is not at the moment planned. Still, opening this as a tracking issue.

The following things are Linux-specific:

  • Low-level code, such as lwthreads, signal handling and the code for segmented stacks (all .s files).
  • I/O (files, pipes, network, executing programs, etc.)
  • The musl libc compatibility layer.
  • Backtraces depend on details of ELF (reflect.c).

64-bit specific:

  • all assembly code
  • memory allocation?
  • integer types?

Clang would need certainly patching also. (@hannes-landeholm, plz edit this comment and add some details)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants