anchao commented on PR #14452: URL: https://github.com/apache/nuttx/pull/14452#issuecomment-2434394428
> > @W-M-R I think you need to ignore the parameter for SIM board/arch: > > ``` > > aarch64-none-elf-g++: error: unrecognized command-line option '--print-memory-usage' > > ninja: build stopped: subcommand failed. > > cp: cannot stat 'nuttx.hex': No such file or directory > > cp: cannot stat 'nuttx.bin': No such file or directory > > ``` > > This may be cmake cannot be used, because the cmake connector is gcc or g++.I removed them from cmake You could set the command-line option to "`-Wl,--print-memory-usage`" in cmake, which pass "`--print-memory-usage`" as an option to the linker -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org