Changeset 36 in XOpenSparcT1 for trunk/tools/compila
- Timestamp:
- 04/11/11 09:54:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/compila
r33 r36 10 10 11 11 #assembla il boot.S 12 /opt/sparc64-sun-solaris2.8-toolchain/bin/sparc-sun-solaris2.8-as -64 boot.S -o boot.o 12 echo "create boot.o" 13 /opt/sparc64-sun-solaris2.8-toolchain/bin/sparc-sun-solaris2.8-as -xarch=v9 -64 boot.S -o boot.o 13 14 14 15 ## compila con ISA SPARC-V9 16 echo "compile $1.c" 15 17 /opt/sparc64-sun-solaris2.8-toolchain/bin/sparc64-sun-solaris2.8-gcc -m64 -ffreestanding -nostdinc -Os -c $1.c 16 18 17 19 ## linka con ISA SPARC-V9 a 64 bits 18 20 echo "create $1.bin" 19 /opt/sparc64-sun-solaris2.8-toolchain/sparc64-sun-solaris2.8/bin/ld -melf64_sparc --script linker.lds boot.o $1.o -o $1.bin 21 #/opt/sparc64-sun-solaris2.8-toolchain/sparc64-sun-solaris2.8/bin/ld -melf64_sparc --script linker.lds boot.o $1.o -o $1.bin 22 23 ### da codice S1 24 /opt/sparc64-sun-solaris2.8-toolchain/sparc64-sun-solaris2.8/bin/ld -melf64_sparc --script=linker.map -EB -o $1.bin boot.o $1.o 20 25 21 26 22 27 ## fa il dump del file 23 /opt/sparc64-sun-solaris2.8-toolchain/sparc64-sun-solaris2.8/bin/objdump - d$1.bin >$1.dump28 /opt/sparc64-sun-solaris2.8-toolchain/sparc64-sun-solaris2.8/bin/objdump -zD $1.bin >$1.dump 24 29 25 30 ### crea memory.hex
Note: See TracChangeset
for help on using the changeset viewer.