I have started to read a book with Rpi Hacks in which I want to build the kernel. Unfotunately everywhere I search there are crosscompilers for linux only. I want to use Eclipse and rsync executable to the Pi, run from an SSH connection all from a Windows latop WITHOUT VMware.

I found this guide http://www.a2p.it/wordpress/tech-stuff/development/remote-debugging-raspberrypi/ but I am not able to understand what all things to install from cygwin and how to set it up with the Eclipse IDE.

Can you please tell me how to setup the cross compiling environment on a windows machine with Eclipse IDE?

Thanks you in advance.

  • 2
    I think this is a lengthy serious of steps someone has already written out -- except you say you did not understand it. Someone else may come along who's willing to do it all again, but presuming they don't (partially because there's no reason to assume you will understand it a second time), you are probably better examining each "Step" in the blog you linked, and asking specific questions in the appropriate place about them. E.g., the first one is setting up Cygwin. Have you done that? The next one is installing a specific toolchain. Have you done that? – goldilocks Jan 28 '15 at 20:02
  • in the tutorial they haven't specified which Cygwin packages to install that's the problem. – Sushant Kolhe Jan 28 '15 at 20:36
  • 1
    I'm the author of the mentioned article :) As described in Step 1, you should "Be sure to install the python package, the shell and the make tool". – Dexter Jan 29 '15 at 7:22
  • Is there any specific problem you're stuck with ? Posting any error messages would be the first step to figuring out if there are possibly any CygWin packages missing. Apart from that, cross-compiling - even on Linux - is definitely not an easy feat; doing this on Windows is even harder. You could walk through the process once on Linux to get a feel for things and then tackle the job on Windows. Takes patience, but might be the more successful approach in the longer run. – ssc Jan 29 '15 at 21:33
  • I wasn't able to do it in Windows....so now I use Ubuntu 14.04 on Virtual Machine. Works like a charm! :-) thanks for your answers. – Sushant Kolhe Mar 7 '15 at 20:28

Basically the main things you need for the cross compliations is the toolchain you could get this at http://gnutoolchains.com/raspberry/

Once you are on it then its as same steps to set up the eclipse as in linux. if you are working with linux system, its always advisable to use another linux.


I have just put together a post on how to setup cross compilation and cross debugging to the RPi from eclipse on Windows. I have tried to make it as simple to follow as possible and use a pre-build cross compiler which greatly simplifies the process. Cross development for RPi from Windows using eclipse

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.