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


   @masayuki2009 Here are my steps
   git clone https://github.com/apache/incubator-nuttx.git
   tools/configure.sh sim:smp
   make V=1 -j7
   
   
   Result
   ```
   make[2]: Leaving directory 
'/tmp/nuttx/incubator-nuttx/boards/sim/sim/sim/src'
   echo "LD:  nuttx"
   LD:  nuttx
   gcc -r  -L"/tmp/nuttx/incubator-nuttx/staging" -L board  -o nuttx.rel 
up_head.o up_smpsignal.o -Wl,--start-group -lsched -ldrivers -lboards -lc -lmm 
-larch -lapps -lfs -lbinfmt -lboard  -Wl,--end-group
   objcopy --redefine-syms=nuttx-names.dat nuttx.rel
   cc -g -Wl,-verbose 2>&1 | \
        sed -e '/====/,/====/!d;//d' -e 's/__executable_start/_stext/g' -e 
's/__init_array_start/_sinit/g' \
            -e 's/__init_array_end/_einit/g' -e 's/__fini_array_start/_sfini/g' 
-e 's/__fini_array_end/_efini/g' >nuttx.ld
   echo "__init_array_start = .; __init_array_end = .; __fini_array_start = .; 
__fini_array_end = .;" >>nuttx.ld
   "cc" -g -L board -T nuttx.ld -o /tmp/nuttx/incubator-nuttx/nuttx nuttx.rel 
up_hostirq.o up_hostmemory.o up_hosttime.o up_simuart.o up_testset.o 
up_simsmp.o -lpthread -lrt
   nm /tmp/nuttx/incubator-nuttx/nuttx | \
           grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw] 
\)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | \
           sort > /tmp/nuttx/incubator-nuttx/System.map
   make[1]: Leaving directory '/tmp/nuttx/incubator-nuttx/arch/sim/src'
   if [ -w /tftpboot ] ; then \
           cp -f nuttx /tftpboot/nuttx.sim; \
   fi
   echo nuttx > nuttx.manifest
   printf "%s\n" *.map >> nuttx.manifest
   ```
   


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