Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: Davide-NYC on September 02, 2006, 12:15:10 AM

Title: Help Configuring Eclipse and Cygwin on Windows
Post by: Davide-NYC on September 02, 2006, 12:15:10 AM
Hello all,

I am a win32 user. [Windows XP Pro Sp2]
I have cygwin running fine. [C:\cygwin\]
I have eclipse 3.2 and CDT 3.1 installed. [C:\eclipse\]

I've been modifying files with an editor and compiling with make under cygwin without any problems, but I find the interface clunky and I'd like to not leave the app if possible. I'd like an Integrated Development Evironment.  ;)

So I'm looking into using eclipse. I'm not a developer really, but if it's good enough for IBM...
I was able to checkout cvs code using eclipse. (cool!)
But I cannot figure out how to configure eclipse to use make. (uncool!)

I looked at the scripts available on THIS (http://www.mcintoshfamily.pwp.blueyonder.co.uk/rockbox/buildingInEclipse.htm) page in THIS (http://www.mcintoshfamily.pwp.blueyonder.co.uk/rockbox/download/EclipseBuildExtras.zip) zipfile.
But they are way out of date (Sept 1st 2003) and no longer work.

If someone could look at those scripts, fix them and comment them up so that I could modify them to work in my environment it would be very much appreciated.

I think a lot of people would find this useful. I'd even take a stab at writing up a revised HowTo.
Once it's working that is...  ;D

Title: Re: Help Configuring Eclipse and Cygwin on Windows
Post by: Lear on September 03, 2006, 07:08:57 PM
Eclipse CDT is based on Make, so you don't need to do anything special. Just create a "Standard Make" project (as opposed to a "Managed Make" project).

However, creating a working project can be a little tricky, as Eclipse sometimes isn't very helpful if something is configured wrong (it just says it failed to do something, with no indications or error messages giving a clue as to what the problem might be).