Changeset 36 in XOpenSparcT1 for trunk/tools/compila


Ignore:
Timestamp:
04/11/11 09:54:25 (14 years ago)
Author:
pntsvt00
Message:

modificati i file per la compilazione. boot.s linkato a 0xFFF0000020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/compila

    r33 r36  
    1010 
    1111#assembla il boot.S 
    12 /opt/sparc64-sun-solaris2.8-toolchain/bin/sparc-sun-solaris2.8-as -64 boot.S -o boot.o 
     12echo "create boot.o" 
     13/opt/sparc64-sun-solaris2.8-toolchain/bin/sparc-sun-solaris2.8-as -xarch=v9 -64 boot.S -o boot.o 
    1314 
    1415## compila con ISA SPARC-V9 
     16echo "compile $1.c" 
    1517/opt/sparc64-sun-solaris2.8-toolchain/bin/sparc64-sun-solaris2.8-gcc -m64 -ffreestanding -nostdinc -Os -c $1.c 
    1618 
    1719## linka con ISA SPARC-V9 a 64 bits 
    1820echo "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 
    2025 
    2126 
    2227## fa il dump del file 
    23 /opt/sparc64-sun-solaris2.8-toolchain/sparc64-sun-solaris2.8/bin/objdump -d $1.bin >$1.dump 
     28/opt/sparc64-sun-solaris2.8-toolchain/sparc64-sun-solaris2.8/bin/objdump -zD $1.bin >$1.dump 
    2429 
    2530### crea memory.hex 
Note: See TracChangeset for help on using the changeset viewer.