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 not be 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to