Open
Description
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
Labels
No labels