nobody wrote on Tuesday, July 19, 2005:
I have Cygwin installed on the windows syste.
GCC version I have is:
gcc (GCC) 3.3.3 (cygwin special)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
When I run make or ram_ram.bat, I get the following errors:
arm-elf-gcc -c -Wall -D -D GCC_AT91FR40008 -I. -I…/…/Source/include -I…/Common/include -mcpu=arm7tdmi -T -Wcast-align …/…/Source/portable/GCC/ARM7_AT91FR40008/portISR.c -o …/…/Source/portable/GCC/ARM7_AT91FR40008/portISR.o
arm-elf-gcc: cannot specify -o with -c or -S and multiple compilations
make: *** […/…/Source/portable/GCC/ARM7_AT91FR40008/portISR.o] Error 1
With ./ram_arm.bat
c:\freertos-1\FreeRTOS\Demo\ARM7_AT91FR40008_GCC>set USE_THUMB_MODE=NO
c:\freertos-1\FreeRTOS\Demo\ARM7_AT91FR40008_GCC>set DEBUG=-g
c:\freertos-1\FreeRTOS\Demo\ARM7_AT91FR40008_GCC>set OPTIM=-O0
c:\freertos-1\FreeRTOS\Demo\ARM7_AT91FR40008_GCC>set RUN_MODE=RUN_FROM_RAM
c:\freertos-1\FreeRTOS\Demo\ARM7_AT91FR40008_GCC>set LDSCRIPT=atmel-ram.ld
c:\freertos-1\FreeRTOS\Demo\ARM7_AT91FR40008_GCC>make
arm-elf-gcc -c -Wall -D RUN_FROM_RAM -D GCC_AT91FR40008 -I. -I…/…/Source/include -I…/Common/include -g -mcpu=arm7tdmi -Tatmel-ram.ld -Wcast-align -O0 …/…/Source/portable/GCC/ARM7_AT91FR40008/portISR.c -o …/…/Source/portable/GCC/ARM7_AT91FR40008/portISR.o
/ecos-c/DOCUME~1/Owner/LOCALS~1/Temp/ccIEhNNj.s: Assembler messages:
/ecos-c/DOCUME~1/Owner/LOCALS~1/Temp/ccIEhNNj.s:38: Error: literal referenced across section boundary (Implicit dump?)
/ecos-c/DOCUME~1/Owner/LOCALS~1/Temp/ccIEhNNj.s:87: Error: literal referenced across section boundary (Implicit dump?)
/ecos-c/DOCUME~1/Owner/LOCALS~1/Temp/ccIEhNNj.s:103: Error: literal referenced across section boundary (Implicit dump?)
make: *** […/…/Source/portable/GCC/ARM7_AT91FR40008/portISR.o] Error 1
Any suggestions as to what needs to be done to get it going. Is it gcc version or something else that is causing it to not compile?
Thanks and regards
B