compiling gpc on Mac OS 10.10.5 Yosemite

Peter peter at pblackman.plus.com
Mon Nov 16 18:07:18 CET 2015


More specifically, the immediate problem is the switch statement in
build-gpc.command

As the OS version appears to be 14*, the 'default' [fail] option is used.


setenv GPC_OSX_VERSION `uname -r`
switch ($GPC_OSX_VERSION)
	case "10*":
		setenv GPC_DARWIN	darwin10
		setenv GPC_OSX_VERSION_NAME 10.6
		setenv GPC_SDK /Developer/SDKs/MacOSX10.5.sdk
		setenv GPC_ALWAYS_USE_SDK	1
		setenv GPC_PRE_TIGER 0
		breaksw
	case "9*":
		setenv GPC_DARWIN	darwin9
		setenv GPC_OSX_VERSION_NAME 10.5
		setenv GPC_SDK /Developer/SDKs/MacOSX10.5.sdk
		setenv GPC_ALWAYS_USE_SDK	0
		setenv GPC_PRE_TIGER 0
		breaksw
	case "8*":
		setenv GPC_DARWIN	darwin8
		setenv GPC_OSX_VERSION_NAME 10.4
		setenv GPC_SDK /Developer/SDKs/MacOSX10.4u.sdk
		setenv GPC_ALWAYS_USE_SDK	0
		setenv GPC_PRE_TIGER 0
		breaksw
	case "7*":
		setenv GPC_DARWIN	darwin7
		setenv GPC_OSX_VERSION_NAME 10.3
		setenv GPC_SDK
		setenv GPC_ALWAYS_USE_SDK	0
		setenv GPC_PRE_TIGER 1
		breaksw
	default:
		unset echo
		echo
		echo "Unforeseen version of Mac OS X. $GPC_CONTACT"
		echo
		exit 1
endsw


Try adding an extra item to the switch statement such as

	case "14*":
		setenv GPC_DARWIN	darwin14
		setenv GPC_OSX_VERSION_NAME 10.10
		setenv GPC_SDK /Developer/SDKs/MacOSX10.5.sdk
		setenv GPC_ALWAYS_USE_SDK	1
		setenv GPC_PRE_TIGER 0
		breaksw


This might get you a bit farther.  I'm guessing the filename of the sdk
might change, or you could set GPC_ALWAYS_USE_SDK to 0.


Peter

P.S.   Assuming you are using this;
www.microbizz.nl/gpc346u4-sources.dmg




More information about the Gpc mailing list