1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
Alpha
-----
alpha-unknown-elf-gcc -I../../src/include/testmachine -g rectangles.c -O2 -c -o rectangles_alpha.o
alpha-unknown-elf-ld -Ttext 0x10000 -e f rectangles_alpha.o -o rectangles_alpha
file rectangles_alpha
../../gxemul -X -E testalpha rectangles_alpha
ARM
---
arm-unknown-elf-gcc -I../../src/include/testmachine -g rectangles.c -O2 -c -o rectangles_arm.o
arm-unknown-elf-ld -e f rectangles_arm.o -o rectangles_arm
file rectangles_arm
../../gxemul -X -E testarm rectangles_arm
ARM THUMB
---------
arm-unknown-elf-gcc -I../../src/include/testmachine -g rectangles.c -O2 -mthumb -c -o rectangles_arm_thumb.o
arm-unknown-elf-ld -e f rectangles_arm_thumb.o $CROSSDEV/lib/gcc/arm-unknown-elf/3.4.6/thumb/libgcc.a -o rectangles_arm_thumb
file rectangles_arm_thumb
../../gxemul -X -E testarm rectangles_arm_thumb
M32R
----
m32r-elf-gcc -I../../src/include/testmachine -g rectangles.c -O2 -c -o rectangles_m32r.o
m32r-elf-ld -e f rectangles_m32r.o -o rectangles_m32r
file rectangles_m32r
../../gxemul -X -E testm32r rectangles_m32r
MIPS (64-bit)
-------------
mips64-unknown-elf-gcc -I../../src/include/testmachine -g -DMIPS rectangles.c -O2 -mips4 -mabi=64 -c -o rectangles_mips.o
mips64-unknown-elf-ld -Ttext 0xa800000000030000 -e f rectangles_mips.o -o rectangles_mips --oformat=elf64-bigmips
file rectangles_mips
../../gxemul -X -E testmips rectangles_mips
MIPS (32-bit)
-------------
mips64-unknown-elf-gcc -I../../src/include/testmachine -g -DMIPS rectangles.c -O2 -mips1 -mabi=32 -c -o rectangles_mips32.o
mips64-unknown-elf-ld -Ttext 0x80030000 -e f rectangles_mips32.o -o rectangles_mips32
file rectangles_mips32
../../gxemul -X -E testmips -C 4Kc rectangles_mips32
PPC (64-bit)
------------
TODO
PPC (32-bit)
------------
ppc-unknown-elf-gcc -I../../src/include/testmachine -g rectangles.c -O2 -c -o rectangles_ppc.o
ppc-unknown-elf-ld -e f rectangles_ppc.o -o rectangles_ppc
file rectangles_ppc
../../gxemul -X -E testppc -C PPC750 rectangles_ppc
SH (32-bit)
-----------
sh64-superh-elf-gcc -m5-compact -I../../src/include/testmachine -g rectangles.c -c -o rectangles_sh.o
sh64-superh-elf-ld -mshelf32 -e _f rectangles_sh.o -o rectangles_sh
file rectangles_sh
../../gxemul -X -E testsh rectangles_sh
SPARC (64-bit)
--------------
sparc64-unknown-elf-gcc -I../../src/include/testmachine -g rectangles.c -O2 -c -o rectangles_sparc.o
sparc64-unknown-elf-ld -e f rectangles_sparc.o -o rectangles_sparc
file rectangles_sparc
../../gxemul -X -E testsparc rectangles_sparc
|