rtel wrote on Friday, April 29, 2005:
It seems there is something wrong with your GCC installation somewhere. The batch files should execute with no modifications provided you are in the correct directory and the zip file was unzipped with all the directory structure maintained.
Here are a couple of things to try to see if we can find the problem.
1) Open a DOS prompt and go to the FreeRTOS/Demo/ARM7_LPC2106_GCC directory.
Type path to display your path environment variable.
Do you see that the bin directory of your gnuarm installation is in the path? Preferably it should be the first thing in the path to ensure you are using the correct one. If it is not in the path then it needs to be added. I normally use a batch file called setenv.bat to do this:
SET PATH=c:\program files\gnuarm\bin;%PATH%
[this would have to be done each time you start the dos prompt]
now type arm-elf-gcc --version" to check that gcc can be called correctly. You should see the version number and copyright message printed.
2) Now gcc can be found correctly do the same check for make. Often people will have a lot of different versions of make on their computer if they have multiple compilers installed.
Type make --version"
You should get a message as:GNU Make 3.80 then a copyright message. If you see anything else then you need to change the path environment variable again to ensure the correct make is found first.
3) Ensure the FreeRTOS files are exactly as downloaded again, with no modification. Does the ROM_ARM.bat file execute now?
make.exe, will by default look for a file called makefile. This should be in the same directory as the batch file.
Does this make any difference?
If you still have problems then search your hard disks for a file called cygwin1.dll do you have more than one version on your machine? You need to be using the version that came with the gnuarm distribution.
Are you using the gnuarm distribution that has the installation utility? (i.e. you just run setup.exe and it installs everything for you).
Regards,
Richard.