configs  Check-in [6b57563bb9]

Overview
Comment:zshrc: Use GCC 10 for MorphOS cross compiler
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6b57563bb972afe8ffb240950de0a76be17500a56a04488b5abb0c4182f8d8b5
User & Date: js on 2021-08-29 07:45:27
Other Links: manifest | tags
Context
2021-08-29
07:47
zshrc: Make sure GPG agent is running check-in: 00053c8523 user: js tags: trunk
07:45
zshrc: Use GCC 10 for MorphOS cross compiler check-in: 6b57563bb9 user: js tags: trunk
2021-05-08
19:42
vimrc: Add path+=** check-in: 4118b87433 user: js tags: trunk
Changes

Modified zshrc from [2ea7586868] to [4c621b900f].

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
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







-
+








-
-
+
+







				echo "Please install $pkg from pkgsrc!" 1>&2
				return 1
			fi

			export PATH="$prefix/cross/$cross_host/bin:$PATH"
			;;
		morphos)
			local pkg="ppc-morphos-gcc-9"
			local pkg="ppc-morphos-gcc-10"
			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/gg/bin:$PATH"
			export CC="ppc-morphos-gcc-9"
			export CXX="ppc-morphos-g++-9"
			export CC="ppc-morphos-gcc-10"
			export CXX="ppc-morphos-g++-10"
			export OBJC="$CC"
			export OBJCXX="$CXX"
			export cross_host="ppc-morphos"
			;;
		switch)
			if [ -z "$DEVKITPRO" ]; then
				echo "Please set DEVKITPRO!"