LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 07-21-2009, 09:19 AM   #1
gmatyi
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
appropriate arm cross compiler for at91rm9200


Hi,

I have an custom at91rm9200 board, but I don't manage to compile the "helloworld" with a cross compiler. I cross compilled the helloworld with a cross compilers downlaoded from the gnuarm.org and from the codesourcery.com , but If I run the compiled binary on the target, I get this. "-sh: ./helloworld: not found" . If I try this binary on a gumstix board, the compiled binary runs well.

If I compile a kernel with the gnuarm, this also runs well on my at91rm9200 board.

I checked the compiled binary in the midnight commander in the file view (F3) I see this in the first line.

helloworld: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped


Does anybody has any idea what is the problem?
 
Old 07-25-2009, 05:53 PM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
try with full path

Have you tried invoking it with a full pathname (I'm assuming you are trying to run it from a shell of some sort on your custom board)?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN (IPSec)--setkey tool for ARM cross compiler tushar_barahate Linux - Networking 0 05-25-2007 02:15 AM
setkey tool compatible with XSCALE ARM cross compiler tushar_barahate Linux - Software 0 05-23-2007 09:41 AM
Linux, Cross compiler for ARM problem vishalp Programming 1 05-17-2006 01:43 PM
Linux, Cross compiler for ARM problem vishalp Linux - Software 1 05-16-2006 06:06 AM
How to check ARM Cross-Compiler MKSrivastava Debian 1 02-07-2006 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration