Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  compiling plugins
« previous next »
  • Print
Pages: [1]

Author Topic: compiling plugins  (Read 1685 times)

Offline jan3er

  • Member
  • *
  • Posts: 2
compiling plugins
« on: December 30, 2009, 01:31:23 PM »
i am trying to write my frist plugin.
everytime i want to test it i am building the whole rockbox with cygwin.
this takes a lot of time, so i'm making very slow progress.
is there a way to compile only a single file? like, let's say test.c to test.rock?
that would make things much easier
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: compiling plugins
« Reply #1 on: December 30, 2009, 02:04:03 PM »
Quote from: jan3er on December 30, 2009, 01:31:23 PM
i am trying to write my frist plugin.
everytime i want to test it i am building the whole rockbox with cygwin.
this takes a lot of time, so i'm making very slow progress.

After the first time you compile rockbox, only files that are changed are compiled, so if you're just editing a plugin compiling shouldn't take more then a few seconds. 

Are you by any chance doing a make clean first?  If so, don't.
Logged

Offline jan3er

  • Member
  • *
  • Posts: 2
Re: compiling plugins
« Reply #2 on: December 30, 2009, 05:04:03 PM »
thanks a lot, thats what i did wrong
Logged

Offline gulak

  • Member
  • *
  • Posts: 26
Re: compiling plugins
« Reply #3 on: January 11, 2010, 03:44:23 PM »
Quote from: saratoga on December 30, 2009, 02:04:03 PM
After the first time you compile rockbox, only files that are changed are compiled, so if you're just editing a plugin compiling shouldn't take more then a few seconds. 
It takes sometime to check which sources have changed.
A slightly faster is if you only enter:
make rocks
Much faster is if you write a Makefile to only build the plugin.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  compiling plugins
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.071 seconds with 15 queries.