Mercurial > lcfOS
annotate experiments/qemu_vexpress_a9/make.sh @ 407:9eb1fc6aad6c
Minor improvements
author | Windel Bouwman |
---|---|
date | Fri, 20 Feb 2015 15:47:54 +0100 |
parents | 34ac19044b8a |
children |
rev | line source |
---|---|
340 | 1 #!/bin/bash |
2 | |
3 | |
4 TARGET=arm-none-eabi | |
5 MCPU=arm926ej-s | |
6 | |
7 $TARGET-as -mcpu=$MCPU -g startup.s -o startup.o | |
8 $TARGET-gcc -c -g -mcpu=$MCPU -marm main.c -nostdlib -o main.o | |
386 | 9 $TARGET-ld -g -T layout.ld main.o startup.o -o test.elf |
340 | 10 $TARGET-objcopy -O binary test.elf test.bin |
386 | 11 $TARGET-nm test.elf |
387 | 12 $TARGET-objdump -x test.elf |
340 | 13 |
14 |