/[gxemul]/upstream/0.4.3/demos/hello/README
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /upstream/0.4.3/demos/hello/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33 - (show annotations)
Mon Oct 8 16:21:06 2007 UTC (16 years, 7 months ago) by dpavlin
File size: 1756 byte(s)
0.4.3
1 Replace the compiler target name with the name on your system.
2
3
4 Alpha
5 -----
6 alpha-unknown-elf-gcc -I../../src/include/testmachine -g hello.c -c -o hello_alpha.o
7 alpha-unknown-elf-ld -Ttext 0x10000 -e f hello_alpha.o -o hello_alpha
8 file hello_alpha
9 ../../gxemul -E testalpha hello_alpha
10
11
12 ARM
13 ---
14 arm-unknown-elf-gcc -I../../src/include/testmachine -g hello.c -c -o hello_arm.o
15 arm-unknown-elf-ld -e f hello_arm.o -o hello_arm
16 file hello_arm
17 ../../gxemul -E testarm hello_arm
18
19
20 MIPS (64-bit)
21 -------------
22 mips64-unknown-elf-gcc -I../../src/include/testmachine -g -DMIPS hello.c -mips4 -mabi=64 -c -o hello_mips.o
23 mips64-unknown-elf-ld -Ttext 0xa800000000030000 -e f hello_mips.o -o hello_mips --oformat=elf64-bigmips
24 file hello_mips
25 ../../gxemul -E testmips hello_mips
26
27
28 MIPS (32-bit)
29 -------------
30 mips64-unknown-elf-gcc -I../../src/include/testmachine -g -DMIPS hello.c -mips1 -mabi=32 -c -o hello_mips32.o
31 mips64-unknown-elf-ld -Ttext 0x80030000 -e f hello_mips32.o -o hello_mips32
32 file hello_mips32
33 ../../gxemul -E testmips -C R3000 hello_mips32
34
35
36 PPC (64-bit)
37 ------------
38 TODO
39
40
41 PPC (32-bit)
42 ------------
43 ppc-unknown-elf-gcc -I../../src/include/testmachine -g hello.c -c -o hello_ppc.o
44 ppc-unknown-elf-ld -e f hello_ppc.o -o hello_ppc
45 file hello_ppc
46 ../../gxemul -E testppc -C PPC750 hello_ppc
47
48
49 SH (32-bit)
50 -----------
51
52 sh64-superh-elf-gcc -m5-compact -I../../src/include/testmachine -g hello.c -c -o hello_sh.o
53 sh64-superh-elf-ld -mshelf32 -e _f hello_sh.o -o hello_sh
54 file hello_sh
55 ../../gxemul -E testsh hello_sh
56
57
58 SPARC (64-bit)
59 --------------
60 sparc64-unknown-elf-gcc -I../../src/include/testmachine -g hello.c -c -o hello_sparc.o
61 sparc64-unknown-elf-ld -e f hello_sparc.o -o hello_sparc
62 file hello_sparc
63 ../../gxemul -E testsparc hello_sparc
64

  ViewVC Help
Powered by ViewVC 1.1.26