Sobakava
Full Member level 6
ARM Linux Toolchain
I just removed -thumb parameter and recompiled. it still does not work and gives "Segmentation Fault" message.
this is the code:
int main() {
int a;
for (a=0;a<5;a++) {
}
}
after compiling, executable file is 126KB
here, at the bottom of the page there is an example:
**broken link removed**
do I need to use arm-elf-ld and arm-elf-objcopy ? what are they?
I just removed -thumb parameter and recompiled. it still does not work and gives "Segmentation Fault" message.
this is the code:
int main() {
int a;
for (a=0;a<5;a++) {
}
}
after compiling, executable file is 126KB
here, at the bottom of the page there is an example:
**broken link removed**
Code:
arm-elf-ld -Ttext 0 -e 0 -Map APPLICATION.MAP -o APPLICATION.ELF STARTUP.O PROGRAM.O
arm-elf-objcopy -O binary APPLICATION.ELF APPLICATION.BIN
do I need to use arm-elf-ld and arm-elf-objcopy ? what are they?