version 1.1.1.1.2.1, 2008/08/13 17:12:19 |
version 1.2, 2008/06/03 11:57:04 |
|
|
--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 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-" ;; |
|
|
# Check gcc options |
# Check gcc options |
# |
# |
setgccoption "-fno-stack-protector" |
setgccoption "-fno-stack-protector" |
|
setgccoption "-Wno-variadic-macros" |
} |
} |
|
|
main "$@" |
main "$@" |