Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: trouble compiling under ms-win
From: Ray Ransom (ray_at_micosyen.com)
Date: 2002-11-07


> I am having trouble compiling under Windows (XP). I tried a couple of
> ways...

I had all those same problems under Windoze 98. Here is what I did:

First, give up on Cygwin. The SH tools in that package do not work. In the
GNUSH environment, all problems are related to the PERL creation of the
language files. Since GNUSH has no PERL, I copied the PERL binaries from
Cygwin to the GNUSH ..\utils directory:

perl.exe
cygwin1.dll
libperl5_6_1.dll

But there was still some problem with calling PERL from make. I had to
remove all script references from the makefile and run the scripts manually
from the command line. Unfortunately, I do not remember the details. Maybe
if you play around with it you can figure out how to make it work from make.

The goal is to get lang.c and lang.h in the ..\apps directory. Once I got
this far, I modified the makefiles so they would not delete the language
files and tossed out PERL altogether.

If you ever get a clean make, you will need to download the Windoze version
of SCRAMBLE.EXE to generate a viable executable.

Some final notes:

You must always run the makefile in ..\firmware at least once before you run
the one in ..\apps. Even though the second makefile is supposed to call the
first one, it doesn't work.

The win32.mak files never worked for me. I had to modify them extensively.
I can send them to you if you get stuck and need examples of working make
files.

In Windoze 98, you can use a DOS box as a pseudo-Unix command environment.
I'm not sure what you do in XP.

You can also copy GZIP.EXE and TAR.EXE from Cygwin and use them in GNUSH.



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa