Linux - Embedded & Single-board computerThis 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
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm a Linux newby.
I unpacked the arm-linux-gcc-3.4.1.tar.bz2 then moved the files on \usr\local but trying to compile a .c file with arm-linux-gcc-3.4.1 -o hello.exe hello.c
it gives me the error -bash: /usr/local/bin/arm-linux-gcc-3.4.1: cannot execute binary file
and the same with another distribution (4.2.1).
I'm working in Cygwin but trying to cross-compile.
If someone could give me a hint about this it would be greatly appreciated!
Thanks in advance
Last edited by Ninaeve; 01-18-2012 at 03:54 AM.
Reason: detail needed
Please use the "Report" button to ask for the thread
to be moved to the "Embedded Forum".
You may get more response to your arm questions in "Embedded".
Thank you so much!
I acquired a embedded uClinux system but having Windows on pc the seller on its instructions tells to use cygwin and arm-linux as cross-compiler......:-(
Seems like I'll have to find an alternative solution.
Every suggestion will be very well accepted but thank you again for the informations.
(If I could use native Linux it would be better, I know)
You can still use gcc on Cygwin. You'll probably have to build it there, however, unless you can find Cygwin binaries of the right configuration. Cross toolchains for Arm can be a bit tricky with all of the various permutations of Arm processor, ABI's, floating point support, etc. I strongly endorse knudfl's recommendation to use Crosstool-NG if you need to build a toolchain.
These days, Cygwin seems a bit pointless, with the ease of running Linux as a VM. At least from the perspective of software cross-development.
Thank you very much
Unfortunately my office is set with MS and I can't change OS so...
Cygwin GCC doesn't run in Linux and Linux GCC doesn't run in Windows ^_^''' as I was told in the previous posts and I discovered on my skin.
I tried different cross-compilers but they didn't have any chance to run.
I was given an ad-hoc cross-compiler for Cygwin by the vendor and IT RUNS!
Now I can start the real work ;-)
Best Regards
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.