[arm-gnu] Didn't get the toolchain to work
Dürrwang, Jürgen
Juergen.Duerrwang at iosb.fraunhofer.de
Mon Jul 23 14:39:04 UTC 2012
Hi all,
I have started programming a Pandaboard ES by using your toolchain. At the moment I have installed the ARM GNU/Linux release because of running Ubuntu 12.04 on the Pandaboard. I installed eclipse and the ARM GNU plugin from http://sourceforge.net/projects/gnuarmeclipse/ on a Ubunutu machine. Then I wrote a simple HelloWorld and got this compiler output:
**** Build of configuration Debug for project HeloWorld ****
make all
Building file: ../helo.c
Invoking: ARM Sourcery Linux GCC C Compiler
arm-none-eabi-gcc -O0 -Wall -Wa,-adhlns="helo.o.lst" -c -fmessage-length=0 -MMD -MP -MF"helo.d" -MT"helo.d" -mcpu=cortex-a9 -mthumb -g3 -gdwarf-2 -o "helo.o" "../helo.c"
Finished building: ../helo.c
Building target: HeloWorld.elf
Invoking: ARM Sourcery Linux GCC C Linker
arm-none-eabi-gcc -nostartfiles -Wl,-Map,HeloWorld.map -mcpu=cortex-a9 -mthumb -g3 -gdwarf-2 -o "HeloWorld.elf" ./helo.o
/home/duerrw/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00008120
Finished building target: HeloWorld.elf
Invoking: ARM Sourcery Linux GNU Create Listing
arm-none-eabi-objdump -h -S HeloWorld.elf > "HeloWorld.lst"
Finished building: HeloWorld.lst
Invoking: ARM Sourcery Linux GNU Print Size
arm-none-eabi-size --format=berkeley HeloWorld.elf
text data bss dec hex filename
42 116 0 158 9e HeloWorld.elf
Finished building: HeloWorld.siz
**** Build Finished ****
I copied the elf file to Pandaboard and made it executable. But when try to start with ./HeloWorld.elf I only get
"Not such file or directorty". Can anybody help me?
Greetings,
Jürgen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/arm-gnu/attachments/20120723/705f2a4d/attachment.html>
More information about the arm-gnu
mailing list