no1wudi commented on pull request #5637:
URL: https://github.com/apache/incubator-nuttx/pull/5637#issuecomment-1056052568


   @pkarashchenko Yes, I got compiling flags like:
   ```
   arm-none-eabi-gcc -c -fno-common -fno-builtin -Wall -Wstrict-prototypes 
-Wshadow -Wundef -Os -fomit-frame-pointer -fno-strict-aliasing -mcpu=cortex-a8 
-mfloat-abi=hard -mfpu=vfpv3-d16 -isystem "/home/huang/Work/nx/nuttx/include" 
-D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe   binfmt_dumpmodule.c -o  
binfmt_dumpmodule.o
   CC:  binfmt_coredump.c
   arm-none-eabi-gcc -c -fno-common -fno-builtin -Wall -Wstrict-prototypes 
-Wshadow -Wundef -Os -fomit-frame-pointer -fno-strict-aliasing -mcpu=cortex-a8 
-mfloat-abi=hard -mfpu=vfpv3-d16 -isystem "/home/huang/Work/nx/nuttx/include" 
-D__NuttX__ -DNDEBUG -D__KERNEL__  -pipe   binfmt_coredump.c -o  
binfmt_coredump.o
   ```
   And link and print libgcc.a:
   ```
   arm-none-eabi-ld --entry=__start 
-T/home/huang/Work/nx/nuttx/boards/arm/am335x/beaglebone-black/scripts/sdram.ld 
 -L /home/huang/Work/nx/nuttx/staging -L 
/home/huang/Work/nx/nuttx/arch/arm/src/board  \
           -o /home/huang/Work/nx/nuttx/nuttx arm_vectortab.o  \
           --start-group -lsched -ldrivers -lboards -lc -lmm -larch -lxx -lapps 
-lfs -lbinfmt -lboard 
/usr/lib/gcc/arm-none-eabi/10.3.1/thumb/v7-a+fp/hard/libgcc.a 
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/lib/thumb/v7-a+fp/hard/libm.a
 --end-group
   
   ➜  nuttx git:(rv) arm-none-eabi-gcc  -mcpu=cortex-a8 -mfloat-abi=hard 
-mfpu=vfpv3-d16 --print-libgcc-file-name
   /usr/lib/gcc/arm-none-eabi/10.3.1/thumb/v7-a+fp/hard/libgcc.a
   ```
   
   


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