Rockbox Development > Starting Development and Compiling

Writing Code Quicker

(1/4) > >>

Rcdude10tc32:
hey guys, I have a feeling i might be answering my own question here but just curious how you all write code and not kill someone doing it.

-I've setup cygwin
-Wrote and compiled code using cygwin
-Ran it on the simulator and my rockbox
Everythings cool but it takes about 6 or 7 minutes for each compile of cygwin for the simulator build.

Is there any quicker way to compile just what i've changed?  Does anyone have it setup so a program like Eclipse automates the whole process and launches the simulator instantly?

Thanks
 -Justin

Bagder:
Using Linux (even on vmware) is much quicker, 2-3 times faster on the same hardware than using cygwin. Then you can also use ccache and gain even more speedups when doing rebuilds of not too much changes.

LambdaCalculus:

--- Quote from: Rcdude10tc32 on January 02, 2008, 09:45:02 AM ---Does anyone have it setup so a program like Eclipse automates the whole process and launches the simulator instantly?

--- End quote ---

There are instructions for Eclipse floating around somewhere in the wiki, but they're old and depreciated now.

All you need is Linux, a good text editor (vi, Emacs, Kate, etc.), SVN, and the source to Rockbox (which also gives you the other tools you need via shell scripts).

Lear:

--- Quote from: Rcdude10tc32 on January 02, 2008, 09:45:02 AM ----I've setup cygwin
-Wrote and compiled code using cygwin
-Ran it on the simulator and my rockbox
Everythings cool but it takes about 6 or 7 minutes for each compile of cygwin for the simulator build.

Is there any quicker way to compile just what i've changed?  Does anyone have it setup so a program like Eclipse automates the whole process and launches the simulator instantly?

--- End quote ---

Unless you have a very slow computer, or you're always making a full rebuild (which usually isn't necessary), I'd suspect a problem on your PC. In order to do its thing, Cygwin does some unusual things, which can cause slowdowns with some other applications (firewalls and antivirus programs typically). E.g., a firewall I used to use make Cygwin several times slower...

Rcdude10tc32:

--- Quote from: Lear on January 02, 2008, 10:21:04 AM --- ...or you're always making a full rebuild (which usually isn't necessary...

--- End quote ---

My computers pretty good,
but you pretty much nailed it, it compiles Everything, all the rock plugins, doom, etc.  I didn't know you could only do part of it.  How do you compile just a part?

Navigation

[0] Message Index

[#] Next page

Go to full version