LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-24-2002, 11:48 PM   #1
ayeong
LQ Newbie
 
Registered: Dec 2002
Location: Singapore
Distribution: Red Hat
Posts: 2

Rep: Reputation: 0
running "hello world" in ARM Integrator Board


Hi,

I have a ARM Integrator board with CM920T running on Montavista Embedded Linux Professional 2.1 ported to ARM.

I have managed to setup everything including the DHCPD as well as NFS.

Using their KDevelop that comes with the package (not KDevelop from RedHat), i tried to compile a simple program that display "Hello World" running on the target (ARM920T). However, the error message that displayed by the target is "Unable to execute a binary file". Strangely, I managed to run the program on the host (x86 with Redhat 7.2).

So I did a check on the compiler setting and have ensure that it's compile for "arm_920t_le" target.

Anybody got any suggestions to this problem ?

By the way, where can I get a copy of manual for KDevelop in PDF format instead of html ?

Thanks and Merry Christmas

Embedded Linux newbie (very green)
 
Old 12-25-2002, 03:50 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
If you were able to run the program on the host machine, it was not compiled for the target. Not sure why, but you may try to find out. Compile it, in the message window try to find an output from 'configure' script with 'TARGET' string. What does it look like?
 
Old 12-25-2002, 11:14 PM   #3
ayeong
LQ Newbie
 
Registered: Dec 2002
Location: Singapore
Distribution: Red Hat
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply.

Finally, I managed to compile it and run on my target. That's stupid of me not to do "export PATH=$PATH:.........." and thus, the IDE could not find the arm_920t_le-gcc compiler in the directory.

After compiling, I did a "readelf" check and it's correctly compile for ARM architecture.

Okay, now I think I need to do some multi threading programming. Any website or URL to recommend for a newbie ?

Thanks

Best Regards
 
Old 12-26-2002, 05:22 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
Maybe the main site:
http://pauillac.inria.fr/~xleroy/linuxthreads/
 
Old 09-12-2006, 02:01 AM   #5
Nishant Desai
Member
 
Registered: Jul 2006
Posts: 100
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by ayeong
Hi,

I have a ARM Integrator board with CM920T running on Montavista Embedded Linux Professional 2.1 ported to ARM.

I have managed to setup everything including the DHCPD as well as NFS.

Using their KDevelop that comes with the package (not KDevelop from RedHat), i tried to compile a simple program that display "Hello World" running on the target (ARM920T). However, the error message that displayed by the target is "Unable to execute a binary file". Strangely, I managed to run the program on the host (x86 with Redhat 7.2).

So I did a check on the compiler setting and have ensure that it's compile for "arm_920t_le" target.

Anybody got any suggestions to this problem ?

By the way, where can I get a copy of manual for KDevelop in PDF format instead of html ?

Thanks and Merry Christmas

Embedded Linux newbie (very green)
Dear Ayeong,

I know this is so old thread but i am new to the ARM and want to ask that, if you were able to run ypur executable on your ARM board then what was the procedure you have done to load your application into the ARM board, even i also have mad teh executable on my RH9 desktop for the ARM board, but i am not able to download it onto the boar, please tell me the procedure you have follow to download the execs into the ARM board.

Thanks,
Nishant
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Realtek ACL658rev0 on-board sound "overblown" tek1024 Linux - Hardware 1 09-07-2005 10:06 AM
What ever happened to the "smallest computer in the world"? t3gah General 3 04-21-2005 10:06 PM
User "list" running process "python" TroelsSmit Linux - Newbie 2 02-22-2005 04:55 AM
Error with evolution after "emerge -u world" PGDubbin Linux - Software 4 01-28-2005 08:41 AM
error running "make" and "arkollonrc"... Toro Linux - Software 1 04-19-2004 12:24 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration