8000 Native machine code support on MacOS · Issue #7714 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content
Native machine code support on MacOS #7714
Open
@Miraj98

Description

@Miraj98

The past few days I have been trying this example - https://docs.micropython.org/en/latest/develop/natmod.html#minimal-example
The thing is I am not able to compile this on my MacOS. My machine produces executable in the Mach-O format but mpy_ld.py expects an ELF executable.

I even tried using i386-elf-gcc which seems to be a cross compiler but using that throws error as well. It's throwing

assert.h: No such file or directory
 #include <assert.h>

I think the best thing would be if Mach-O format is supported but till then I was wondering if there is a way around all this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0