Rockbox Development > Starting Development and Compiling

Cygwin is spitting error messages - some help please

<< < (2/3) > >>

nofish:
You're right, I've noticed the big, fat warning message of course.

Sorry for ignoring it in my posts, got a bit overwhelmed as this is all new to me. ..
The actual question for me is 'what would I do to fix it'.

If I run 'Rockboxdev.sh' as said above, does this automatically update to the recommended version or are there further steps necessary ?
 

bluebrother:
rockboxdev.sh downloads and installs the correct version. Apart from selecting the toolchain to be installed there is no furter action required. Beware that building the compiler can take several hours on Cygwin. If you have an antivirus program running it is a good idea to disable it to speed up the process.

saratoga:

--- Quote from: nofish on September 26, 2012, 06:39:12 AM ---If I run 'Rockboxdev.sh' as said above, does this automatically update to the recommended version or are there further steps necessary ?

--- End quote ---

Generally yes.  I'm not sure on cygwin though what will happen to the old compiler.  After installing, you might want to run 'which m68k-elf-gcc' to make sure that the one the command prompt sees is the one you just installed (e.g. is in the location rockboxdev.sh installed to) and not the old one. 

nofish:
still not there yet, but getting closer I hope...

I've run rockboxdev.sh as advised and it completed building the compiler after several hours.

I'm getting the same error message as before though. (see screenshots) What else am I mssing ? Is cygwin still seeing the old compiler ?

PS: I know that I could simply use the Virtualbox image instead, but I'd really like to go through this Cygwin building procedure succesfully once for learning purposes so any help is very appreciated. :)





bluebrother:
Did you install the compiler to /opt? rockboxdev.sh defaults to /usr/local, so I assume your installation has the old compiler in /opt. A simple solution would be to make sure the new compiler comes first in the search path. I.e. do something like

export PATH=/usr/local/bin:$PATH

(assuming you used the default installation path for the compiler)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version