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
| | |-+  /tools/configure question... sort of
« previous next »
  • Print
Pages: [1]

Author Topic: /tools/configure question... sort of  (Read 2857 times)

Offline hayduke

  • Member
  • *
  • Posts: 14
/tools/configure question... sort of
« on: March 02, 2008, 06:52:54 PM »
I have more then one iPod I use Rockbox on. I had to compile my own Rockbox for a Mini with a CF card, so I figured I might as well try and compile one for my 30G Video too.

Since I'm pretty new at this, it led me to a quesiton. First I should probably explain what I've done so far so setup the question.

I installed the Cygwin environment, and checked out the source with svn. Everythign is working fine. I applied the patch for the Mini and recompiled the code. We're fine there. Now I want to compile a Video version. So here is the question.

I run configure and make inside a folder in the Rockbox source folder. Can I make a different "build" folder for each player platform I want to work with? ie buildMini2g build30GVid buildRio etc

As long as I run configure in each folder, they will compile the correct versions, right? And is it OK if they all share the source code?
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: /tools/configure question... sort of
« Reply #1 on: March 02, 2008, 06:53:52 PM »
Yep, that is fine :)
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: /tools/configure question... sort of
« Reply #2 on: March 02, 2008, 06:54:32 PM »
Yes, as long as you're okay with them all having the same patches installed (or the patches are all developed in a way that keeps them from being active on the wrong player).
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: /tools/configure question... sort of
« Reply #3 on: March 02, 2008, 06:56:10 PM »
Quote from: Llorean on March 02, 2008, 06:54:32 PM
Yes, as long as you're okay with them all having the same patches installed (or the patches are all developed in a way that keeps them from being active on the wrong player).

Good point.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline hayduke

  • Member
  • *
  • Posts: 14
Re: /tools/configure question... sort of
« Reply #4 on: March 02, 2008, 07:25:15 PM »
Quote from: Llorean on March 02, 2008, 06:54:32 PM
Yes, as long as you're okay with them all having the same patches installed (or the patches are all developed in a way that keeps them from being active on the wrong player).

That's what I figured. The patch for the Mini with a CF card looked like it does a check for the platform, so I think it's OK in there :)

Thanks for confirming what I thought was the case. This is new to me and I still doubt my understanding of the process :P
Logged

Offline hayduke

  • Member
  • *
  • Posts: 14
Re: /tools/configure question... sort of
« Reply #5 on: March 21, 2008, 09:42:55 PM »
At the risk of becoming annoying ;)  I have another question

I'm trying to setup my cygwin at work so that I can compile rockbox. When I try to run //tools.configure from a bash shell, I get bad interpreter: permission denied

I've looked at the permissions and I don't see what the problem is. Here is entire text for the error:
bash: ../tools/configure: /bin/sh: bad interpreter: Permission denied

It seems like compiling in this environment is difficult. Compiling on an AS400 is so much easier  :-\
Logged

zajacattack

  • Guest
Re: /tools/configure question... sort of
« Reply #6 on: March 21, 2008, 10:21:55 PM »
Don't double post; use the modify button if no one has posted since you.
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: /tools/configure question... sort of
« Reply #7 on: March 22, 2008, 02:03:51 AM »
Try
Code: [Select]
dos2unix ../tools/configure
chmod +x ../tools/configure
sh ../tools/configure
« Last Edit: March 22, 2008, 02:16:23 AM by cool_walking_ »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  /tools/configure question... sort of
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.056 seconds with 17 queries.