Skip to content

Portability #2

@simonlindholm

Description

@simonlindholm

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions