Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tthtlchome:/home/tthtlc/Downloads/linux-3.14.4>/root/sat/bin/arm-none-eabi-gcc -static test.c -o mytest -nostdlib -lnosys
- /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00008000
- /tmp/ccZkeoH2.o: In function `main':
- test.c:(.text+0xc): undefined reference to `puts'
- collect2: ld returned 1 exit status
- tthtlchome:/home/tthtlc/Downloads/linux-3.14.4>/root/sat/bin/arm-none-eabi-gcc -static test.c -o mytest -nostdlib
- /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00008000
- /tmp/ccl72HMS.o: In function `main':
- test.c:(.text+0xc): undefined reference to `puts'
- collect2: ld returned 1 exit status
- /root/sat/bin/arm-none-eabi-gcc -static test.c -o mytest
- /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function `exit':
- /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/stdlib/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/stdlib/exit.c:65: undefined reference to `_exit'
- /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
- /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/sbrkr.c:60: undefined reference to `_sbrk'
- /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-writer.o): In function `_write_r':
- /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/writer.c:58: undefined reference to `_write'
- /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-closer.o): In function `_close_r':
- /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/closer.c:53: undefined reference to `_close'
- /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-fstatr.o): In function `_fstat_r':
- /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/fstatr.c:62: undefined reference to `_fstat'
- /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-isattyr.o): In function `_isatty_r':
- /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/isattyr.c:58: undefined reference to `_isatty'
- /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-lseekr.o): In function `_lseek_r':
- /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/lseekr.c:58: undefined reference to `_lseek'
- /root/sat/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-readr.o): In function `_read_r':
- /root/stellaris_launchpad/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/reent/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/reent/readr.c:58: undefined reference to `_read'
- collect2: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement