Hallo,
immer wen nich versuche, ein Beispielprogramm aus dem examples-Ordner
beim WinARM etwas "umzugestalten" indem ich alle Funktionen wegtue und
nur noch die main habe, um darauf später eigene Programme aufzubauen,
kommt beim Compilieren folgende Meldung:
1 | > "make.exe" all
|
2 |
|
3 | -------- begin --------
|
4 | arm-elf-gcc (GCC) 4.1.1 (WinARM)
|
5 | Copyright (C) 2006 Free Software Foundation, Inc.
|
6 | This is free software; see the source for copying conditions. There is NO
|
7 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
8 |
|
9 |
|
10 | Assembling (ARM-only): crt0.S
|
11 | arm-elf-gcc -c -mcpu=arm7tdmi-s -mthumb-interwork -I. -x assembler-with-cpp -DROM_RUN -Wa,-adhlns=crt0.lst,-gdwarf-2 crt0.S -o crt0.o
|
12 |
|
13 | Compiling C: main.c
|
14 | arm-elf-gcc -c -mthumb -mcpu=arm7tdmi-s -mthumb-interwork -I. -gdwarf-2 -DROM_RUN -Os -Wall -Wcast-align -Wcast-qual -Wimplicit -Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow -Wunused -Wa,-adhlns=main.lst -I./inc -I./conf -MD -MP -MF .dep/main.o.d -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -std=gnu99 main.c -o main.o
|
15 |
|
16 | Linking: main.elf
|
17 | arm-elf-gcc -mthumb -mcpu=arm7tdmi-s -mthumb-interwork -I. -gdwarf-2 -DROM_RUN -Os -Wall -Wcast-align -Wcast-qual -Wimplicit -Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow -Wunused -Wa,-adhlns=crt0.lst -I./inc -I./conf -MD -MP -MF .dep/main.elf.d crt0.o main.o --output main.elf -nostartfiles -Wl,-Map=main.map,--cref -lc -lnewlib-lpc -lm -lc -lgcc -lstdc++ -TLPC2138-ROM.ld
|
18 | c:/winarm/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/bin/ld.exe: address 0x600 of main.elf section .stack is not within region RAM
|
19 | collect2: ld returned 1 exit status
|
20 | make.exe: *** [main.elf] Error 1
|
21 |
|
22 | > Process Exit Code: 2
|
23 | > Time Taken: 00:01
|
Was mache ich da falsch???
MfG Mark