Rupak Parikh wrote:
Hi..
i want to work on fedora/Arm cross tool chain to develop JPEG encoder
application..
As describe here
http://fedoraproject.org/wiki/Architectures/ARM/CrossToolchain
<
http://fedoraproject.org/wiki/Architectures/ARM/CrossToolchain>i complete
this two steps
# wget
http://fedora-arm.wantstofly.org/cross/cross.repo
# yum install armv5tel-redhat-linux-gnueabi-gcc
which successfully complited..
but when i go for compilation code like
$ armv5tel-redhat-linux-gnueabi-gcc -Wall -o hello hello.c
there is no output is genrated...
$ cat hello.c
#include<stdio.h>
int main()
{
printf("Hello odiya");
return 0;
}
$ armv5tel-redhat-linux-gnueabi-gcc -Wall -o hello hello.c
$ ls -l hello
-rwxr-xr-x. 1 aph aph 5417 Aug 19 17:55 hello*
$ file hello
hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared
libs), for GNU/Linux 2.6.14, not stripped
$ scp hello babbage-aph:
hello 100% 5417
5.3KB/s 00:00
$ ssh babbage-aph
Linux babbage-aph 2.6.26-01809-ga29a68d-dirty #1 PREEMPT Thu Jan 15 18:46:56 CST 2009
armv7l
aph@babbage-aph:~$ ./hello
Hello odiya
What more do you want?
Andrew.