nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] yamt commented on a change in pull request #629: sim: 64-bit modules on macOS
Date Fri, 27 Mar 2020 02:56:51 GMT
yamt commented on a change in pull request #629: sim: 64-bit modules on macOS
URL: https://github.com/apache/incubator-nuttx/pull/629#discussion_r399008164
 
 

 ##########
 File path: boards/sim/sim/sim/configs/cxxtest/Make.defs
 ##########
 @@ -86,6 +86,18 @@ else
   LDMODULEFLAGS += -T $(TOPDIR)/libs/libc/modlib/gnu-elf.ld
 endif
 
+# NuttX modules are ELF binaries.
+# Non-ELF platforms like macOS need to use a separate ELF toolchain.
+ifeq ($(CONFIG_HOST_MACOS),y)
+  # eg. brew install x86_64-elf-gcc
 
 Review comment:
   macos' ld doesn't a have -oformat option.
   i don't know if it's possible to use gnu ld for mach-o.
   it's simpler to use a separate toolchain for different targets.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message