Rockbox Development > Starting Development and Compiling

Setting up cygwin fails to get setup.ini

(1/2) > >>

TAC109:
When setting up a Cygwin development environment as explained here http://www.rockbox.org/wiki/CygwinDevelopment I am failing at step 3 (Select the rockbox mirror site).

After adding http://download.rockbox.org/cygwin/ in the "User URL", the installer fails to find the settings.ini file.

It appears that the installer is looking in directory "http://download.rockbox.org/cygwin/x86/" for the settings.ini file.

Could some kind person make the necessary adjustments to the download site please by adding the "x86/" directory and copying the settings.ini file across. Thanks

Edit: The 'release' folder may also need to be moved as well?

saratoga:
Do you actually want to build for SH1?  that would be Archos only.  If not, you can skip that step (see the bottom of the paragraph).

Edit:  Actually, I'll just rewrite that section to put the ARM instructions at the top of the paragraph instead of the bottom.

TAC109:
You are correct! I'm wanting to compile for Sansa Clip Zip and Fuze +.

I'll look at the http://www.rockbox.org/wiki/CrossCompiler pages.

Thanks again.

[Saint]:
I feel as though I should point out that there's a very high likelihood of failure here.

Pretty much no one uses CygWin, because frankly, its absolutely terrible.

You would be much better off with a virtual machine image, if I recall correctly we even ship a 32bit virtual machine image with the toolchains precompiled. An extra bonus would be the fact that a virtual machine will be appreciably faster than CygWin on the same host

I had thought that our documentation spelled out what a bad idea CygWin is, perhaps I'm wrong about that, ...it likely should.


[Saint]

TAC109:
Saratoga:

Ok, after getting the additional Cygwin packages mentioned in the CrossCompiler documentation and running the git clone, I ran rockboxdev.sh and selected 'a' for arm.

There were many screenfuls of the message "/usr/bin/expr.exe: error while loading shared libraries cyggmp-3.dll: cannot open shared object file: no such file or directory".

Then the compile proceeded for an hour using all 8 cpus with no screen activity, followed by "line 207 1316 segmentation fault".

I found a file D:\cygwin\tmp\rbdev-build\build-binutils\bash.exe.stackdump dated correctly which contains:-

Exception: STATUS_STACK_OVERFLOW at eip=6116F503
eax=0000102C ebx=612AEEC0 ecx=00092EDC edx=00000000 esi=61240180 edi=00001A64
ebp=000A2EE8 esp=000A2ED0 program=D:\cygwin\bin\bash.exe, pid 6756, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
.
.
. etc.

I ran it again with the same result.

Saint:

Unfortunately, the rockbox VM image is not compatible with the latest version of Virtualbox. The image has an old version of the virtualbox extension pack loaded. Attempting to upgrade this with the latest gives a failure relating to kernel-source and kernel-syms. Without this upgrade, USB doesn't work.

Navigation

[0] Message Index

[#] Next page

Go to full version