Re: problem with Cross-compiling ARM userland binaries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


_______________________________________________
fedora-arm mailing list
fedora-arm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux