Wednesday, August 22, 2012

Eclipse for ARM11

Eclipse SDK
Version: 4.2.0
Build id: I20120608-1400

First, to import using existing project.
Second, for Cross Compiler gcc/g++ point to arm-unknown-linux-uclibcgnueabi-gcc Create a new configuration call ARM11CrossCompiler or using existing Debug Project -> Properties _> Build ->Setting

GCC C++ Compiler
GCC C Compiler
GCC C+ Linker
GCC Assembler
will have
Command:
/home/buildroot-2012.05/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
/home/buildroot-2012.05/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-g++
/home/buildroot-2012.05/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-as
All Options:
-I/home/buildroot-2012.05/output/host/usr/include -O0 -g3 -Wall -pthread -c -fmessage-length=0 -O0 -g3 -Wall -pthread -c -fmessage-length=0
It can not run linux because it is for ARM11 error "cannot execute binary file" Linux Satellite 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686 i686 i386 GNU/Linux Download into target from terminal connected serial to target and issues:
cd /home
#tftp -g -r Test 10.100.100.xxx (-g = get file, -r = remote, host IP)
#./Test
Ref. http://www.embedded-linux.co.uk/tutorial/eclipse-cross-compile

No comments:

Post a Comment