mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
sim: Fix linker support and macOS host build issues
Update SIM configuration and CMake toolchain to resolve linker errors when building on macOS. Adjust POSIX host implementation to ensure successful compilation and proper behavior of the sim target. Modified: - arch/sim/Kconfig - arch/sim/src/cmake/Toolchain.cmake - arch/sim/src/sim/posix/sim_hostmisc.c Signed-off-by: Aditya Yadav <166515021+aditya0yadav@users.noreply.github.com>
This commit is contained in:
@@ -37,6 +37,7 @@ config ARCH_CHIP
|
||||
|
||||
choice
|
||||
prompt "Toolchain Selection"
|
||||
default SIM_TOOLCHAIN_CLANG if HOST_MACOS
|
||||
default SIM_TOOLCHAIN_GCC
|
||||
|
||||
config SIM_TOOLCHAIN_GCC
|
||||
|
||||
Reference in New Issue
Block a user