Hi all,

I installed the latest version of Mynewt, 1.9.0 and the environment needed
following the guidance on the website. However, the examples wont' build on
MacOS Monterey 12.2.1.

It shows the following error:

Error: ld: warning: The i386 architecture is deprecated for macOS (remove
from the Xcode build setting: ARCHS)



I tried to uninstall gcc-11 and installed GCC-6 (gcc-5 is no long supported
by MacOS later than v11) and changed the Compilier.yml settings to:


compiler.path.cc.DARWIN.OVERWRITE:
"gcc-6"compiler.path.as.DARWIN.OVERWRITE: "gcc-6”


The same error still shows up.

Any suggestions?

Thanks,

-- 
Mo Chen

Reply via email to