yamt commented on a change in pull request #179: macOS support for sim
URL: https://github.com/apache/incubator-nuttx/pull/179#discussion_r372548116
 
 

 ##########
 File path: arch/sim/src/Makefile
 ##########
 @@ -195,8 +195,15 @@ endif
 
 # Override in Make.defs if linker is not 'ld'
 
-LDSTARTGROUP ?= --start-group
-LDENDGROUP ?= --end-group
+ifeq ($(HOSTOS),Darwin)
+  LDSTARTGROUP ?=
+  LDENDGROUP ?=
+  LDUNEXPORTSYMBOLS ?= -unexported_symbols_list $(HOSTOS)-names.dat
 
 Review comment:
   as i mentioned in the commit logs, gnu binutils didn't actually work for me.
   objcopy runs without errors, producing a corrupted object.

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


With regards,
Apache Git Services

Reply via email to