source: project/wiki/building-chicken-with-macos-x @ 37082

Last change on this file since 37082 was 37082, checked in by svnwiki, 7 months ago

Anonymous wiki edit for IP [24.20.3.0]: What worked for me on 10.14.2

File size: 795 bytes
Line 
1== To build a Universal Binary CHICKEN on Leopard that also runs on Tiger you do:
2
3        export MACOSX_DEPLOYMENT_TARGET=10.4
4        make PLATFORM=macosx ARCH=universal
5
6(Thanks to Heinrich Taube)
7
8== What worked for me on 10.14.2
9 --- Makefile.macosx.bak        2019-01-18 21:32:04.000000000 -0800
10 +++ Makefile.macosx    2019-01-18 21:34:18.000000000 -0800
11 @@ -28,9 +28,9 @@
12 
13  # platform configuration
14 
15 -XCODE_DEVELOPER ?= /Applications/Xcode.app/Contents/Developer
16 -XCODE_TOOL_PATH ?= $(XCODE_DEVELOPER)/Toolchains/XcodeDefault.xctoolchain/usr/bin
17 -C_COMPILER ?= $(XCODE_DEVELOPER)/usr/bin/gcc
18 +XCODE_DEVELOPER ?= /Library/Developer
19 +XCODE_TOOL_PATH ?= $(XCODE_DEVELOPER)/CommandLineTools/usr/bin/
20 +C_COMPILER ?= $(XCODE_TOOL_PATH)/gcc
21  ARCH ?= $(shell sh $(SRCDIR)/config-arch.sh)
22 
23  # commands
24
25
Note: See TracBrowser for help on using the repository browser.