You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/10 13:03:48 UTC

[GitHub] [incubator-nuttx] ptka commented on a change in pull request #5452: sim: detect clang native compiler on MacOS.

ptka commented on a change in pull request #5452:
URL: https://github.com/apache/incubator-nuttx/pull/5452#discussion_r803356802



##########
File path: boards/sim/sim/sim/scripts/Make.defs
##########
@@ -96,6 +96,12 @@ NM = $(CROSSDEV)nm
 OBJCOPY = $(CROSSDEV)objcopy
 OBJDUMP = $(CROSSDEV)objdump
 
+# clang based native compiler doesn't need opjcopy to build simulation.
+# Note: In fact objcopy is not part of MacOS native compiler suite.
+ifeq ($(CONFIG_HOST_TOOLCHAIN_CLANGL),y)  
+  OBJCOPY = :

Review comment:
       On my MacOS/M1/Monterey only llvm-g++  and llvm-gcc are available. Additionally, any 'llvm-' tool would be not used unless you link them or specify the CROSSDEV prefix as defined in boards/sim/sim/sim/scripts/Make.def.




-- 
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