rtel wrote on Friday, April 22, 2005:
Hi, see my answers below.
>I’m trying to compile the LPC2106 ARM demo
>for FreeRTOS and am having trouble getting
>everything installed and configured correctly.
>
>I installed GNUARM. All of the important
>files such as Arm-elf-gcc are located in
>folder C:\Program Files\GNUARM\bin and
>NOT in the normal Cygwin directory c:\cygwin.
Did you use the prebuilt files with the Windoze installation program. If so then Im sure the installation location is fine. My copy is installed in the directory: D:\DevTools\GNUARM so also not in the normal Cygwin directory.
You dont say what problem you get when you try to use the tools?
A simple test would be to create a file, say called test.c with the following:
int main( void )
{
return 0;
}
then try compiling it with arm-elf-gcc test.c.
Does this work?
You might get problems if you have multiple and different versions of the cygwin dll installed on your machine.
There is a mailing list detailed on the gnuarm.org homepage for installation problems.
>Is this the right folder?
You can put it where you like provided the bin directory is in your PATH environment variable.
>Per suggestion from your website, I downloaded
>and installed UNXUTILS. I understand, with
>this I don’t need Cygwin. What folder should
>I put UNXUTILS in?
Again you can put it where you like provided it is in your path. Also if you have different versions of make installed on your machine (I have many!) then you need to ensure you are using the correct one. This can be done by making sure it is listed first within your PATH.
>In the folder C:\Program
>Files\GNUARM\bin? When I tried to unzip
>UNXUTILS , WinZip gave me an error. So
>I tried unzipping using PKZIP. It was still
>corrupted but PKZIP was able to fix the
>problem. When unzipped, I got the folders
>"user\local\wbin" and a few other folders.
>wbin is where all of the Cygwin files are
>located. Where do I place these folders?
I should try downloading it again if it is corrupted.
You dont need to use this make utility in particular. Any GNU compatible version will do.
>Once I get GNUARM and UNXUTILS installed,
>where do I install the demo files located
>in the demo download “ARM7_LPC2106_GCC”?
>When I run the ram_arm.bat, it can’t find
>any of the files?
Ensure you keep the directory structure in tact when you unzip the FreeRTOS files. You should end up with two directories at the top of the tree source and demo. The makefile assumes this directory structure exists and will look for files from both. Take a look at the source code organisation section of the WEB site. You should not need to make any modifications to the download in order for it to compile.