nicolas71640 commented on issue #11863:
URL: https://github.com/apache/nuttx/issues/11863#issuecomment-1991042732
Thank you all for your help.
As I understand it, @acassis and @xuxin930 you suggest to use the export
AND Import script to us the Makefile to build the final binary. I actually
didn't know that an import.sh and import target existed... I've tried this
morning. Works perfectly with a random arch/board, but doesn't work with the
simulator. First, same issue with the linker flag (-Wl,--gc-section instead of
--gcc-section in the LDFLAGS), then this issue :
`ld: cannot open linker script file -o: No such file or directory`
Am I doing something wrong ?
Just followed a readme that I've found in the source :
```
$ cd nuttx
$ ./tools/configure.sh sim:nsh
$ make V=1 -j7
$ make export V=1
$ cd ../apps
$ ./tools/mkimport.sh -z -x ../nuttx/nuttx-export-*.tar.gz
$ make import V=1
```
--
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]