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 02:52:18 UTC
[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5452: sim: enable selecting clang native compiler on MacOS.
xiaoxiang781216 commented on a change in pull request #5452:
URL: https://github.com/apache/incubator-nuttx/pull/5452#discussion_r803259577
##########
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:
from this page:
https://llvm.org/docs/CommandGuide/index.html
llvm-ar, llvm-strip, llvm-nm, llvm-objdump, llvm-objcopy
--
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