Overview
Comment: | zshrc: Add cross djgpp |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7957e6441860ca555ce3591804d20bf1 |
User & Date: | js 2022-12-04 23:46:17 |
Context
2022-12-04
| ||
23:47 | ssh_config: Default to IdentitiesOnly yes check-in: b3e3f764fa user: js tags: trunk | |
23:46 | zshrc: Add cross djgpp check-in: 7957e64418 user: js tags: trunk | |
23:45 | sway: Handle multimedia keys check-in: 20324aeb88 user: js tags: trunk | |
Changes
Changes to zshrc.
︙ | ︙ | |||
456 457 458 459 460 461 462 463 464 465 466 467 468 469 | esac if [ $# != 2 -o -z "$cross_host" ]; then echo "Usage: cross amiga m68k|ppc" 1>&2 return 1 fi ;; ios | iossim) if ! __has_command xcrun; then echo -n "Can only cross-compile for iOS " 1>&2 echo "on a Mac with Xcode!" 1>&2 return 1 fi | > > > > > > > > > > > > | 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 | esac if [ $# != 2 -o -z "$cross_host" ]; then echo "Usage: cross amiga m68k|ppc" 1>&2 return 1 fi ;; djgpp) local pkg="cross-i586-pc-msdosdjgpp-gcc" local prefix="$(pkg_info -qp $pkg 2>/dev/null | awk '/^@cwd/ { print $2; exit }')" if [ -z "$prefix" ]; then echo "Please install $pkg from pkgsrc!" 1>&2 return 1 fi export PATH="$prefix/cross-djgpp/bin:$PATH" export cross_host="i586-pc-msdosdjgpp" ;; ios | iossim) if ! __has_command xcrun; then echo -n "Can only cross-compile for iOS " 1>&2 echo "on a Mac with Xcode!" 1>&2 return 1 fi |
︙ | ︙ |