/[gxemul]/trunk/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

Diff of /trunk/demos/hello/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 28 by dpavlin, Mon Oct 8 16:20:26 2007 UTC
# Line 3  Replace the compiler target name with th Line 3  Replace the compiler target name with th
3    
4  Alpha  Alpha
5  -----  -----
6  alpha-unknown-elf-gcc -I../../src/include/testmachine -g                \  alpha-unknown-elf-gcc -I../../src/include/testmachine -g hello.c -c -o hello_alpha.o
         hello.c -c -o hello_alpha.o  
7  alpha-unknown-elf-ld -Ttext 0x10000 -e f hello_alpha.o -o hello_alpha  alpha-unknown-elf-ld -Ttext 0x10000 -e f hello_alpha.o -o hello_alpha
8  file hello_alpha  file hello_alpha
9  gxemul -E testalpha hello_alpha  ../../gxemul -E testalpha hello_alpha
10    
11    
12  ARM  ARM
13  ---  ---
14  arm-unknown-elf-gcc -I../../src/include/testmachine -g                  \  arm-unknown-elf-gcc -I../../src/include/testmachine -g hello.c -c -o hello_arm.o
         hello.c -c -o hello_arm.o  
15  arm-unknown-elf-ld -e f hello_arm.o -o hello_arm  arm-unknown-elf-ld -e f hello_arm.o -o hello_arm
16  file hello_arm  file hello_arm
17  gxemul -E testarm hello_arm  ../../gxemul -E testarm hello_arm
18    
19    
20  MIPS (64-bit)  MIPS (64-bit)
21  -------------  -------------
22  mips64-unknown-elf-gcc -I../../src/include/testmachine -g -DMIPS        \  mips64-unknown-elf-gcc -I../../src/include/testmachine -g -DMIPS hello.c -mips4 -mabi=64 -c -o hello_mips.o
23          hello.c -mips4 -mabi=64 -c -o hello_mips.o  mips64-unknown-elf-ld -Ttext 0xa800000000030000 -e f hello_mips.o -o hello_mips --oformat=elf64-bigmips
 mips64-unknown-elf-ld -Ttext 0xa800000000030000 -e f                    \  
         hello_mips.o -o hello_mips --oformat=elf64-bigmips  
24  file hello_mips  file hello_mips
25  gxemul -E testmips hello_mips  ../../gxemul -E testmips hello_mips
26    
27    
28  MIPS (32-bit)  MIPS (32-bit)
29  -------------  -------------
30  mips64-unknown-elf-gcc -I../../src/include/testmachine -g -DMIPS        \  mips64-unknown-elf-gcc -I../../src/include/testmachine -g -DMIPS hello.c -mips1 -mabi=32 -c -o hello_mips32.o
31          hello.c -mips1 -mabi=32 -c -o hello_mips.o  mips64-unknown-elf-ld -Ttext 0x80030000 -e f hello_mips32.o -o hello_mips32
32  mips64-unknown-elf-ld -Ttext 0x80030000 -e f                            \  file hello_mips32
33          hello_mips.o -o hello_mips  ../../gxemul -E testmips -C R3000 hello_mips32
 file hello_mips  
 gxemul -E testmips -C R3000 hello_mips  
34    
35    
36  PPC (64-bit)  PPC (64-bit)
# Line 46  TODO Line 40  TODO
40    
41  PPC (32-bit)  PPC (32-bit)
42  ------------  ------------
43  ppc-unknown-elf-gcc -I../../src/include/testmachine -g                  \  ppc-unknown-elf-gcc -I../../src/include/testmachine -g hello.c -c -o hello_ppc.o
         hello.c -c -o hello_ppc.o  
44  ppc-unknown-elf-ld -e f hello_ppc.o -o hello_ppc  ppc-unknown-elf-ld -e f hello_ppc.o -o hello_ppc
45  file hello_ppc  file hello_ppc
46  gxemul -E testppc -C PPC750 hello_ppc  ../../gxemul -E testppc -C PPC750 hello_ppc
47    
48    
49    SPARC (64-bit)
50    --------------
51    sparc64-unknown-elf-gcc -I../../src/include/testmachine -g hello.c -c -o hello_sparc.o
52    sparc64-unknown-elf-ld -e f hello_sparc.o -o hello_sparc
53    file hello_sparc
54    ../../gxemul -E testsparc hello_sparc
55    

Legend:
Removed from v.24  
changed lines
  Added in v.28

  ViewVC Help
Powered by ViewVC 1.1.26