Hi guys,
I've just upgraded to DevKitAdv R5 Beta 3 today from the old R4
version that I've been using. I downloaded the files from SourceForge
and unzipped them to the root of my C drive. This put all the files in
C:\devkitadv-r5-beta-3 with the proper directory structure.
I then altered my path, removing all references to the old DevKitAdv
R4 and adding the new references. Removing all non-important stuff, my
path now looks like so:
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\devkitadv-r5-bet\
a-3\bin;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program
Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft
Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin
As you can see, my path references only the new beta 3 of DevKitAdv.
I ran gcc and got the standard "gcc: no input files" error. So far, so
good.
Then I tried to compile the most simple of files (void main(int) with
return 0 as the function body) and got this error:
gcc: installation problem, cannot exec `cc1': No such file or directory
Okay, I've had this issue before with R4, I know it was an environment
variable. Taking a look at the FAQ, I can see it's GCC_EXEC_PREFIX. I
updated this to point at the new R5 like so:
GCC_EXEC_PREFIX=/cygdrive/c/devkitadv-r5-beta-3/lib/gcc-lib/
So, to my mind, this should work - right? Well, it doesn't, I get the
same error about not being able to find cc1.exe.
It exists as
"C:\devkitadv-r5-beta-3\lib\gcc-lib\arm-agb-elf\3.2.2\cc1.exe" on my
hard drive, I've installed all of the relevant files - I can only
assume that either I'm overlooking something or there's an issue with
this beta version.
Can anybody help out, perhaps pointing me in a couple of directions
that may help me out? I've read the FAQ and gone through this list
looking for messages about it but I can't find any. The only problem I
found in this list was about copying msys-1.0.dll from tools to bin in
the DevKitAdv directory - otherwise it looks like either it works for
everybody else or nobody else has tried it...
Kind regards,
Neil