431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
|
export cross_host="arm-none-eabi"
export objfw_configure_flags="--with-$1"
;;
amiga)
case "$2" in
m68k)
if [ -z "$amiga_gcc_path" ]; then
echo -n "Please set amiga_gcc_path!" 1>&2
return 1
fi
export PATH="$amiga_gcc_path/bin:$PATH"
export cross_host="m68k-amigaos"
;;
ppc)
if [ -z "$adtools_path" ]; then
echo -n "Please set adtools_path!" 1>&2
return 1
fi
export PATH="$adtools_path/bin:$PATH"
export cross_host="ppc-amigaos"
;;
esac
|
|
|
|
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
|
export cross_host="arm-none-eabi"
export objfw_configure_flags="--with-$1"
;;
amiga)
case "$2" in
m68k)
if [ -z "$amiga_gcc_path" ]; then
echo "Please set amiga_gcc_path!" 1>&2
return 1
fi
export PATH="$amiga_gcc_path/bin:$PATH"
export cross_host="m68k-amigaos"
;;
ppc)
if [ -z "$adtools_path" ]; then
echo "Please set adtools_path!" 1>&2
return 1
fi
export PATH="$adtools_path/bin:$PATH"
export cross_host="ppc-amigaos"
;;
esac
|
497
498
499
500
501
502
503
504
505
506
507
508
509
510
|
export OBJC="$CC"
export OBJCPP="$CPP"
export OBJCXX="$CXX"
export OBJCPPXX="$CXXPP"
export IPHONEOS_DEPLOYMENT_TARGET="10.0"
export cross_host="$archs[(w)1]-apple-darwin"
;;
mingw)
case "$2" in
i686 | x86_64)
local pkg="mingw-w64-$2-gcc"
export cross_host="$2-w64-mingw32"
;;
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
|
export OBJC="$CC"
export OBJCPP="$CPP"
export OBJCXX="$CXX"
export OBJCPPXX="$CXXPP"
export IPHONEOS_DEPLOYMENT_TARGET="10.0"
export cross_host="$archs[(w)1]-apple-darwin"
;;
macos)
if [ -z "$retro68_path" ]; then
echo "Please set retro68_path!" 1>&2
return 1
fi
export PATH="$retro68_path/bin:$PATH"
case "$2" in
m68k)
export cross_host="m68k-apple-macos"
;;
ppc)
export cross_host="powerpc-apple-macos"
;;
esac
if [ $# != 2 -o -z "$cross_host" ]; then
echo "Usage: cross macos m68k|ppc" 1>&2
return 1
fi
;;
mingw)
case "$2" in
i686 | x86_64)
local pkg="mingw-w64-$2-gcc"
export cross_host="$2-w64-mingw32"
;;
|