You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/09/20 09:43:13 UTC
[GitHub] [incubator-nuttx] TA1DB edited a comment on issue #1844: BEST SUPPORTED BOARD + NUTTX VERSION
TA1DB edited a comment on issue #1844:
URL: https://github.com/apache/incubator-nuttx/issues/1844#issuecomment-695766578
Thank you very much to everyone who is trying to help me by answering my question here.
On this occasion I would also like to thank to @acassis for his kindly answering my questions in LinkedIn messaging.
@anchao I just applied exactly same process [here in @acassis 's blog "Using NuttX as library once again" ]( https://acassis.wordpress.com/2020/06/28/using-nuttx-as-library-once-again/ )
Everything went as expected until I enter this command:
`$ arm-none-eabi-ld --entry=__start -nostartfiles -nodefaultlibs -T./scripts/ld.script -L./libs hello.o -o nuttx.elf --start-group -lc -larch -lbinfmt -lboard -lboards -ldrivers -lfs -lmm -lsched -lxx "/usr/lib/gcc/arm-none-eabi/9.2.1/thumb/v7e-m/nofp/libgcc.a" --end-group`
then I got the following:
`.apple-MacBook-Pro:hello murat$ cd nuttx-export-9.0.0
apple-MacBook-Pro:nuttx-export-9.0.0 murat$ arm-none-eabi-gcc -c -fno-builtin -Wall -Wstrict-prototypes -Wshadow -Wundef -g -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -I. -isystem ./include -pipe -I "./include" -I "./arch/chip" hello.c -o hello.o
apple-MacBook-Pro:nuttx-export-9.0.0 murat$ arm-none-eabi-ld --entry=__start -nostartfiles -nodefaultlibs -T./scripts/ld.script -L./libs hello.o -o nuttx.elf --start-group -lc -larch -lbinfmt -lboard -lboards -ldrivers -lfs -lmm -lsched -lxx "/usr/lib/gcc/arm-none-eabi/9.2.1/thumb/v7e-m/nofp/libgcc.a" --end-group
arm-none-eabi-ld: cannot find -lc
arm-none-eabi-ld: cannot find -larch
arm-none-eabi-ld: cannot find -lbinfmt
arm-none-eabi-ld: cannot find -lboard
arm-none-eabi-ld: cannot find -lboards
arm-none-eabi-ld: cannot find -ldrivers
arm-none-eabi-ld: cannot find -lfs
arm-none-eabi-ld: cannot find -lmm
arm-none-eabi-ld: cannot find -lsched
arm-none-eabi-ld: cannot find -lxx
arm-none-eabi-ld: cannot find /usr/lib/gcc/arm-none-eabi/9.2.1/thumb/v7e-m/nofp/libgcc.a: No such file or directory
`
Note: with Nuttx version 9.1.0 the first command line (arm-none-eabi-gcc -c ... ) didn't work either.
----------------------------------------------------------------
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:
users@infra.apache.org