Rockbox

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Patches
  • Category Infrastructure → Build environment
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Yoshihisa Uchida - 2009-03-13

FS#10021 - Patch to build Rockbox firmware by using MinGW.

The Rockbox firmware and cross compilers build by using MinGW.

It is necessary to use MSYS’s make (MinGW’s make (mingw32-make) does not used.).

The cross_compilers.zip is a patch file necessary to make cross compilers using by rockboxdev.sh.

I confirmed the Rockbox firmware, codecs and plugins was built by using the compiler on MinGW.
But I can not confirm whether the Rockbox executes excluding iPod video.

Could you confirm operation to various players?


Yoshihisa Uchida commented on 2009-03-13 14:14

Sorry, please do not use rockboxdev_mingw.patch . Instead, please use mingw_build.patch.

Yoshihisa Uchida commented on 2009-03-13 14:38

Please apply the patch of  FS#10020  before applying the mingw_build.patch.

And more, If you use Windows Vista, when cross compilers build using tools/rockboxdev.sh, the following error messages might be output.

"make.exe: *** couldn't commit memory for cygwin heap, Win32 error 0"

At this time, please tools/rockboxdev.sh is executed again, and restart processing (select "continue").
This error is a problem of MinGW not but my patch.


														
Boris Gjenero commented on 2009-03-14 23:22

Is building on MinGW faster than building on Cygwin?

Yoshihisa Uchida commented on 2009-03-15 03:33

In my PC, MinGW builds firmware, codecs, plugins about 2.5 times as fast as Cygwin.

Cygwin: 32 min

  1. Generating dependencies 11 min
  2. Build firmware (+tools) 6 min
  3. Build codecs 4 min
  4. Build plugins 11 min


MinGW: 13 min

  1. Generating dependencies 3 min
  2. Build firmware (+tools) 3 min
  3. Build codecs 2 min
  4. Build plugins 5 min

– My build environments —

OS: Windows Vista SP1
CPU: Intel Core2 Duo 2.5GHz
Cygwin: 1.5.25
MinGW: 5.1.4
MSYS: 1.0.11

source: r20325 + mingw_build.patch
target: iPod video 64MB

Yoshihisa Uchida commented on 2009-03-15 05:39

Patch updates.

changes:
- bug fix: "make veryclean" does not remove tools/*.exe.

Yoshihisa Uchida commented on 2009-07-15 11:34
Boris Gjenero commented on 2010-01-28 02:42

Which Perl do you use? ActivePerl 5.10.1.1006 can't handle a long command line needed for dependencies in r24352, and it generates paths with drive letters instead the corresponding MSYS directories. MSYS Perl seems broken. (It lacks List/Util.pm. If I get it from ActivePerl, Scalar-List-Utils-1.14 or Scalar-List-Utils-1.22 (at http://cpansearch.perl.org/src/GBARR/ ) , the make.dep output contains a lot of repeats of the same file.)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing