From b2b84cb0104bce65c8de118093438d8d62a1aac0 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 29 Jan 2020 15:54:31 +0900 Subject: [PATCH] sim: Update documentation for macOS --- boards/sim/sim/sim/README.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/boards/sim/sim/sim/README.txt b/boards/sim/sim/sim/README.txt index 2bd1240728..18a352e869 100644 --- a/boards/sim/sim/sim/README.txt +++ b/boards/sim/sim/sim/README.txt @@ -181,6 +181,10 @@ which version of strlen() you call. Other times, it can cause subtle, mysterious errors. Usually, however, callng the wrong function in the wrong OS results in a fatal crash. +On macOS, instead of objcopy, -unexported_symbols_list linker option is +used to hide symbols in the NuttX domain, using the same list of symbols +from nuttx-name.dat. + Networking Issues ----------------- I never did get networking to work on the sim target. It tries to use the @@ -487,6 +491,17 @@ Common Configuration Information CONFIG_SIM_X8664_SYSTEMV=n CONFIG_SIM_M32=n + g. macOS, 64-bit, 64-bit build + + CONFIG_HOST_LINUX=n + CONFIG_HOST_MACOS=y + CONFIG_HOST_WINDOWS=n + CONFIG_HOST_X86=n + CONFIG_HOST_X86_64=y + CONFIG_SIM_X8664_MICROSOFT=n + CONFIG_SIM_X8664_SYSTEMV=y + CONFIG_SIM_M32=n + Configuration Sub-Directories -----------------------------