Overview
Comment: | zshrc: Add classic macOS to cross |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f78c8320ff85bfc1e4983cd107c57665 |
User & Date: | js 2022-11-25 21:36:11 |
Context
2022-11-25
| ||
21:46 | fish: Add flveri check-in: a24c2cee51 user: js tags: trunk | |
21:36 | zshrc: Add classic macOS to cross check-in: f78c8320ff user: js tags: trunk | |
21:30 | zshrc: Reduce indentation for case check-in: 0fec6041e7 user: js tags: trunk | |
Changes
Changes to zshrc.
︙ | ︙ | |||
431 432 433 434 435 436 437 | export cross_host="arm-none-eabi" export objfw_configure_flags="--with-$1" ;; amiga) case "$2" in m68k) if [ -z "$amiga_gcc_path" ]; then | | | | 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" ;; |
︙ | ︙ |