yamt commented on pull request #3836:
URL: https://github.com/apache/incubator-nuttx/pull/3836#issuecomment-860334125


   > > why do we need -nostartfiles -nodefaultlibs at all?
   > > my understanding is that these options controls how cc generates ld 
command line arguments.
   > > i don't see how it matters while we use ld directly.
   > > besides, having cc as LD is very confusing.
   > 
   > Almost every board configuration has these options. It seems like to be a 
copypasta. But actualy LD doesn't process them. My first proposal was to change 
it to CFLAGS. But changing LD to GCC can give more options for linking 
optimization. So it was decided to take more effort.
   
   i'm not sure if i agree the decision. i submitted a revert. 
https://github.com/apache/incubator-nuttx/pull/3900


-- 
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:
us...@infra.apache.org


Reply via email to