How to build unix port on macOS #11492
Answered
by
jimmo
cdwilson
asked this question in
Unix & Windows
-
I tried to build the unix port on macOS by following the directions at https://docs.micropython.org/en/latest/develop/gettingstarted.html#building-the-unix-port-of-micropython but I'm getting errors like this:
It looks like it should be possible to build for macOS since I can |
Beta Was this translation helpful? Give feedback.
Answered by
jimmo
May 14, 2023
Replies: 1 comment 3 replies
-
You could try to build without the btree module by setting |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe homebrew compiles with an older version of
gcc
. (Edit: yes, seeGCC 4.2.1
in the homebrew version's banner)Either way, we probably need to add an exclusion for that warning -- we already have
-Wno-old-style-definition
inextmod/extmod.mk
, sounds like we need to add-Wdeprecated-non-prototype
. (Are you interested in sending a PR :) )