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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  rockboxdev.sh in Cygwin takes very long time
« previous next »
  • Print
Pages: [1]

Author Topic: rockboxdev.sh in Cygwin takes very long time  (Read 3861 times)

Offline AgentRev

  • Member
  • *
  • Posts: 7
rockboxdev.sh in Cygwin takes very long time
« on: September 20, 2011, 11:08:51 PM »
Hey there,

I followed the steps to install Cygwin on Windows in order to compile an ARM version of Rockbox, however I'm stuck at the rockboxdev.sh part. I started it like 6 hours ago, and it still seems executing, with text flowing normally in the console.

Most lines displayed starts with "/tmp/rbdev-build/build-gcc/[...]", is it possible that I need to try again by restarting the script, or it's normal it takes that long?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9138
Re: rockboxdev.sh in Cygwin takes very long time
« Reply #1 on: September 20, 2011, 11:12:30 PM »
cygwin is extremely slow, so depending how old your machine is that might be reasonable.
Logged

Offline AgentRev

  • Member
  • *
  • Posts: 7
Re: rockboxdev.sh in Cygwin takes very long time
« Reply #2 on: September 20, 2011, 11:19:51 PM »
Quote from: saratoga on September 20, 2011, 11:12:30 PM
cygwin is extremely slow, so depending how old your machine is that might be reasonable.
It's a 3 GHz quad core.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9138
Re: rockboxdev.sh in Cygwin takes very long time
« Reply #3 on: September 20, 2011, 11:27:02 PM »
Quote from: armorfid on September 20, 2011, 11:19:51 PM
Quote from: saratoga on September 20, 2011, 11:12:30 PM
cygwin is extremely slow, so depending how old your machine is that might be reasonable.
It's a 3 GHz quad core.

Then it should go faster. 
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: rockboxdev.sh in Cygwin takes very long time
« Reply #4 on: September 21, 2011, 01:34:58 AM »
If it's still scrolling different text, it's working. It does take hours and hours on cygwin. Don't use cygwin if you can avoid it; development on linux (even in a virtual machine) is dozens of times faster.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: rockboxdev.sh in Cygwin takes very long time
« Reply #5 on: September 21, 2011, 10:08:45 AM »
Yeah, Cygwin is very slow. Here's a toolchain I compiled a while ago: http://dl.dropbox.com/u/16662598/Rockbox/arm-elf-eabi.tar.bz2
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: rockboxdev.sh in Cygwin takes very long time
« Reply #6 on: September 21, 2011, 11:52:56 AM »
Quote from: torne on September 21, 2011, 01:34:58 AM
...It does take hours and hours on cygwin. ... development on linux (even in a virtual machine) is dozens of times faster.
Definately. Took me ~6-8 hours under cygwin vs. 15-20 min under Ubuntu (in a VM) on the same machine (1.7 GHz i7).
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline AgentRev

  • Member
  • *
  • Posts: 7
Re: rockboxdev.sh in Cygwin takes very long time
« Reply #7 on: September 21, 2011, 12:23:44 PM »
Looks like it finished compiling in about 7 hours. Does a full Rockbox compile on Cygwin take a lot of time (say, more than 30 mins)?


P.S.: I added a note on the CrossCompiler wiki page about the script completion time for Cygwin.
« Last Edit: September 21, 2011, 01:05:08 PM by AgentRev »
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: rockboxdev.sh in Cygwin takes very long time
« Reply #8 on: September 21, 2011, 01:57:01 PM »
I haven't done it in a while but it takes maybe 20 minutes, if I remember accurately. On the same machine with Linux it takes more like 3 minutes to build (rockbox is tiny compared to the GNU toolchain).
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline AgentRev

  • Member
  • *
  • Posts: 7
Re: rockboxdev.sh in Cygwin takes very long time
« Reply #9 on: September 21, 2011, 01:58:21 PM »
Took about 5 mins for a full Rockbox compile in Cygwin, with "make -j4". All CPU cores' usage was between 85 and 100% during the compile.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: rockboxdev.sh in Cygwin takes very long time
« Reply #10 on: September 21, 2011, 02:22:50 PM »
That's not terrible, but I expect it will still be significantly faster in Linux on that machine, then; under a minute? :)
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  rockboxdev.sh in Cygwin takes very long time
 

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

Page created in 0.098 seconds with 19 queries.