Ticket #8379: riscos.patch
File riscos.patch, 1.8 KB (added by , 19 years ago) |
---|
-
configure
old new 2 2 # 3 3 # Some things this script could/should do when finished 4 4 # 5 # * detect whether it s a GNU compiler or not (for compiler settings)5 # * detect whether it's a GNU compiler or not (for compiler settings) 6 6 # * command line options to... 7 7 # - override the host settings (for cross compiles 8 8 # - whether to do a debug build (with -g) or an optimized build (-O3 etc.) … … 416 416 _host_os=linux 417 417 _host_cpu=arm 418 418 else 419 guessed_host=`$_srcdir/config.guess` 420 _host_cpu=`echo $guessed_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 421 _host_os=`echo $guessed_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 422 _host_vendor=`echo $guessed_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 419 if test "$_host" = "arm-riscos-aof"; then 420 _host_os=riscos 421 _host_cpu=arm 422 else 423 guessed_host=`$_srcdir/config.guess` 424 _host_cpu=`echo $guessed_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 425 _host_os=`echo $guessed_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 426 _host_vendor=`echo $guessed_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 427 fi 423 428 fi 424 429 425 430 # … … 429 434 mingw* | cygwin*) 430 435 EXEEXT=".exe" 431 436 ;; 437 arm-riscos-aof) 438 EXEEXT=",ff8" 439 ;; 432 440 *) 433 441 EXEEXT="" 434 442 ;; … … 482 490 cxx_version="$cxx_version, ok" 483 491 cxx_verc_fail=no 484 492 ;; 493 3_4) 494 _cxx_major=3 495 _mxx_minor=4 496 ;; 485 497 'not found') 486 498 cxx_verc_fail=yes 487 499 ;; … … 570 582 if test -n "$_host"; then 571 583 # Cross-compiling mode - add your target here if needed 572 584 case "$_host" in 573 linupy )585 linupy|arm-riscos-aof) 574 586 echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes" 575 587 DEFINES="$DEFINES -DUNIX" 576 588 _def_endianness='#define SCUMM_LITTLE_ENDIAN'