Skip to content

Feature Request: CosmopolitanΒ #182

@VarLad

Description

@VarLad

There's a lot of merits to using cosmopolitan libc and cosmocc as our C compiler (or at least give an option to use it)
This should be relatively straightforward, and should enable StaticCompiler.jl to produce one binary that works on most devices x OSs out there, including BIOS, and even Android, all while having a ~+30% binary size!!
What needs to be done:

  1. Test it locally by downloading cosmocc and simply using it as cc, when running the compile_executable function.
  2. If 1. works, package cosmocc in BinaryBuilder and make it into an extension maybe?

I'll test out 1. when I find more time. πŸ™‚

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions