You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "simbit18 (via GitHub)" <gi...@apache.org> on 2025/11/14 11:43:18 UTC
Re: [I] [BUG] macOS: sim/note and sim/nsh fail to build [nuttx]
simbit18 commented on issue #15776:
URL: https://github.com/apache/nuttx/issues/15776#issuecomment-3532354913
> I am also encountering the same problem.
>
> macOS 15.5 (24F74)
>
> I've basically done the following:
>
> ```
> mkdir nuttx-example && cd nuttx-example
> git clone git@github.com:apache/nuttx-apps.git apps
> git clone git@github.com:apache/nuttx.git nuttx
> cd nuttx
> ./tools/configure.sh -l sim:nsh
> make menuconfig # "Build setup" -> "Build host platform" -> "macOS". Save and exit
> make -j
> ```
@trytuna for macOS, you must use -m.
./tools/configure.sh **-m** sim:nsh
https://github.com/apache/nuttx/blob/63f081cbf2a76b1e00d087ce5416c8c29dfde068/tools/configure.sh#L33-L41
```
-l selects the Linux (l) host environment.
-m selects the macOS (m) host environment.
-c selects the Windows host and Cygwin (c) environment.
-g selects the Windows host and MinGW/MSYS environment.
-n selects the Windows host and Windows native (n) environment.
-B selects the *BSD (B) host environment.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org