nealef commented on PR #2026:
URL: https://github.com/apache/nuttx-apps/pull/2026#issuecomment-1715047006

   What I've found is when `modprint` is built we get this command line:
   ```
   ld -r -e module_initialize --gc-sections -T 
/home/neale/nuttx/libs/libc/modlib/gnu-elf.ld -melf_i386  -o modprint  
modprint.o
   ```
   But for `dynload` we get:
   ```
   ld -Bsymbolic -G -Bdynamic --no-gc-sections  -L /home/neale/nuttx/staging -o 
dynload dynload.o -lc
   ```
   This is due to the settings of various flags in 
`boards/sim/sim/sim/scripts/Make.defs`. I'll add some for shared object linking 
and make corresponding changes in 
`nuttx-apps/examples/sotest/lib/dynload/Makefile`.


-- 
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]

Reply via email to