version 1.1.1.1, 2008/06/03 10:38:40 |
version 1.3, 2008/07/17 19:11:53 |
|
|
--no-debug disable all debug code |
--no-debug disable all debug code |
|
|
Supported targets: |
Supported targets: |
i386-pc i386-nommu arm-gba |
i386-pc i386-nommu arm-gba arm-cats avr32-ngw100 |
USAGE |
USAGE |
exit 1 |
exit 1 |
} |
} |
|
|
platform=`expr "x$target" : 'x[^=]*-\(.*\)'` |
platform=`expr "x$target" : 'x[^=]*-\(.*\)'` |
|
|
case "$arch" in |
case "$arch" in |
i386|arm|ppc|sh|mips) |
i386|arm|avr32|ppc|sh|mips) |
;; |
;; |
*) |
*) |
quit "Unkown target architecture: $arch" |
quit "Unkown target architecture: $arch" |
|
|
case $arch in |
case $arch in |
i386) cross="i386-elf-" ;; |
i386) cross="i386-elf-" ;; |
arm) cross="arm-elf-" ;; |
arm) cross="arm-elf-" ;; |
|
avr32) cross="avr32-" ;; |
ppc) cross="powerpc-eabi-" ;; |
ppc) cross="powerpc-eabi-" ;; |
sh) cross="sh-elf-" ;; |
sh) cross="sh-elf-" ;; |
mips) cross="mips-elf-" ;; |
mips) cross="mips-elf-" ;; |