Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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 ?
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?
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 ?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.