Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/NOTES/MACOSXINSTALL
ViewVC logotype

Annotation of /sml/trunk/NOTES/MACOSXINSTALL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5873 - (view) (download)

1 : jhr 5873 Installation instructions for SML/NJ under macOS
2 : mblume 1362 --------------------------------------------------
3 :    
4 : jhr 3703 We provide a disk image containing an installer package
5 : mblume 1802 for SML/NJ. The package contains a full installation
6 :     including nearly all optional components. (We only
7 :     exclude "mlrisc-tools" and "nowhere".) In the near
8 :     future we plan to provide a meta-package which lets
9 :     users select the components to be installed.
10 : mblume 1362
11 : mblume 1802 The current installer lets the user choose an installation
12 :     root directory. The default is /usr/local/smlnj.
13 :     The SML/NJ-specific "bin" directory containing the
14 :     "sml" command and its siblings is not automatically
15 :     added to the shell's search path, though.
16 : mblume 1362
17 : mblume 1802 When using the installer package (even in the case
18 :     when the installation directory is not the default
19 :     /usr/local/smlnj) it is NOT necessary to set any
20 :     global environment variables such as SMLNJ_HOME.
21 : mblume 1362
22 : mblume 1802 ----
23 : mblume 1362
24 : mblume 1802 When developer tools are present on a MacOS X machine,
25 : jhr 5873 then it is also always possible to do a generic Unix
26 :     install (see file INSTALL). The runtime system makefile
27 :     for Mac OS X on Intel (mk.x86-darwin) is configured to
28 : jhr 3703 support Mac OS X 10.5 (Leopard), but recent versions
29 :     of Xcode do not provide the 10.5 SDKs. You will either
30 :     need to obtain the 10.5 SDKs from the Apple Decveloper
31 :     site or modify the Makefile.
32 :    
33 : jhr 4915 ----
34 :    
35 :     Xcode 10.1, which is Apple's development environment for
36 :     macOS 10.14 Mojave, does not include the libraries needed
37 :     to build 32-bit executables, such as the SML/NJ runtime,
38 :     although 32-bit programs will still run.
39 :    
40 :     To support building on Mojave, there is a Makefile
41 :     (mk.x86-darwin18) for the runtime system. which the
42 :     config/install.sh script will use when necessary. This
43 :     new makefile expects that the `MacOSX10.13.sdk` directory
44 :     from Xcode 9 has been copied into the Xcode 10 SDKs directory.
45 :     Note that updating Xcode from the AppStore will likely
46 :     remove the 10.13 SDK, so you should keep a copy in a safe
47 :     place.
48 :    
49 :     The Xcode SDKs live in Platforms/MacOSX.platform/Developer/SDKs
50 :     under the Developer directory. One can determine the path to the
51 :     current developer directory using the command
52 :    
53 :     % xcode-select -p

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0