Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
Search
Donate
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the Rockbox Technical Forums!
Rockbox Technical Forums
Rockbox Development
Starting Development and Compiling
arm-elf-gcc
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: arm-elf-gcc (Read 14677 times)
mschneider
Member
Posts: 235
arm-elf-gcc
«
on:
May 23, 2007, 06:08:25 PM »
When i try to compile my normal build i am presented with WARNING: arm-elf-gcc is not in your path. When i try to compile i get a bunch of "Dr. Watson" errors. Are these linked to that or am i doing something wrong? or should i just continue?
I have re-installed and added the compiler to the path.
«
Last Edit: May 23, 2007, 06:21:31 PM by mschneider
»
Logged
saratoga
Developer
Member
Posts: 9308
Re: arm-elf-gcc
«
Reply #1 on:
May 23, 2007, 07:11:01 PM »
If you added it to your path, type "which arm-elf-gcc" to make sure its actually in the path variable correctly.
Also, dr.watson errors usually mean a windows program crashed I think. So you're having cygwin crash on you when you try and make? that doesn't sound right at all.
Logged
mschneider
Member
Posts: 235
Re: arm-elf-gcc
«
Reply #2 on:
May 23, 2007, 09:49:50 PM »
No cygwin doesnt crash. And i actually get a zip file (make zip). Everything seems to be working...
Logged
tdtooke
Member
Posts: 151
Re: arm-elf-gcc
«
Reply #3 on:
May 26, 2007, 11:51:25 PM »
On the wiki simple guide to compiling it explains how to put it in your path. Basically you can either modify your bash profile or edit your path in your environment variables to add that.
Logged
Mikerman
Artist
Member
Posts: 721
Re: arm-elf-gcc
«
Reply #4 on:
May 27, 2007, 12:37:44 PM »
This worked for me in an equivalent circumstance, where the m68k file could not be found:
Edit the .bash_profile file in your home directory (cygwin\home\[your name]\.bash_profile), to include the path line at top,
PATH=/opt/m68k/bin:${PATH}
Use Notepad++ or a similar code editor to edit the file (seemingly NOT Windows WordPad or NotePad, which add in line endings). Notepad++ is freely available (for free) on the web.
Presumably, here for you, you would add the path line to the .bash_profile file,
PATH=/opt/arm/bin:${PATH}
As it was explained in a thread here, the path line change can be added into a different file, as noted in the Rockbox Cygwin install instructions, but that file would get overwritten with a new Cygwin version install; the solution here, recommended in the forums, is said to avoid that issue.
I hope this helps.
Logged
mschneider
Member
Posts: 235
Re: arm-elf-gcc
«
Reply #5 on:
May 29, 2007, 12:00:06 PM »
well i've added it to my path using "export PATH=/opt/arm/bin:$PATH" and presumably this adds it. but when i try to compile a normal build i get this message over and over (about five or ten times):
C:\cygwin\opt\arm\bin\arm-elf-gcc.exe (2076): *** system shared memory version m
ismatch detected - 0x2D1E009C/0x75BE0081.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
and afterwards i get the normal "WARNING: the compiler you must use
is not in your path..."
Logged
elborak
Member
Posts: 177
Re: arm-elf-gcc
«
Reply #6 on:
May 29, 2007, 12:08:44 PM »
So have you searched to see if you have multiple cygwin1.dll files in your path?
Logged
mschneider
Member
Posts: 235
Re: arm-elf-gcc
«
Reply #7 on:
May 29, 2007, 12:15:38 PM »
Yes i have the current located in C:/cygwin/bin. it is in my path as :/bin:
I've done a search and the only other cygwin.dll's are in a couple video converters i have. (those are not in my path)
Logged
elborak
Member
Posts: 177
Re: arm-elf-gcc
«
Reply #8 on:
May 29, 2007, 12:25:16 PM »
Either you have a bad cygwin install or you have another version of cygwin1.dll that's being picked up. Did you reboot as the message recommended?
Logged
mschneider
Member
Posts: 235
Re: arm-elf-gcc
«
Reply #9 on:
May 29, 2007, 12:32:40 PM »
yes, nothing changed.
Logged
saratoga
Developer
Member
Posts: 9308
Re: arm-elf-gcc
«
Reply #10 on:
May 29, 2007, 01:11:09 PM »
Edit your cygwin PATH to remove all paths beginning with C:.
Logged
mschneider
Member
Posts: 235
Re: arm-elf-gcc
«
Reply #11 on:
May 29, 2007, 07:38:35 PM »
should i edit with nano? if so, how? I'm not very familiar with using that and all the wiki says about it is to use it.
Logged
Mikerman
Artist
Member
Posts: 721
Re: arm-elf-gcc
«
Reply #12 on:
May 29, 2007, 09:03:58 PM »
I use Notepad++ (obtained on the web) and find it entirely easy to use.
Logged
mschneider
Member
Posts: 235
Re: arm-elf-gcc
«
Reply #13 on:
May 30, 2007, 01:06:37 PM »
How exactly do i edit my PATH though. Do i open a file?
Logged
saratoga
Developer
Member
Posts: 9308
Re: arm-elf-gcc
«
Reply #14 on:
May 30, 2007, 01:28:00 PM »
http://www.rockbox.org/twiki/bin/view/Main/CrossCompiler
I just do 'echo $PATH' and 'export PATH=/home/linus/sh1/bin:$PATH' steps, though in this case you won't want to export the $PATH variable, just parts of it you get from echo $PATH.
There might be an easier way.
Logged
Print
Pages: [
1
]
2
« previous
next »
Rockbox Technical Forums
Rockbox Development
Starting Development and Compiling
arm-elf-gcc
SMF 2.0.19
|
SMF © 2021
,
Simple Machines
Rockbox Privacy Policy
XHTML
RSS
WAP2
Page created in 0.098 seconds with 20 queries.