anchao commented on issue #1844: URL: https://github.com/apache/incubator-nuttx/issues/1844#issuecomment-695770081
Hi @TA1DB I tried the tutorial in the Mr. Acassis 's blog, linker command works as expected, ``` chao@archer:~/nuttx-export-9.1.0$ arm-none-eabi-ld --entry=__start -nostartfiles -nodefaultlibs -T./scripts/flash.ld -L./libs test.o -o nuttx.elf --start-group -lc -larch -lbinfmt -lboard -lboards -ldrivers -lfs -lmm -lsched -lxx -lgcc --end-group chao@archer:~/nuttx-export-9.1.0$ ls arch include libs nuttx.elf registry scripts startup System.map test test.c test.o tools ``` The error you provided seems to be that the ld path does not take effect, It is better to confirm whether the libs/ directory exist or these libraries are actually in the libs/ directory. ---------------------------------------------------------------- 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]
