From 2d4e4deb6067b2ee8d5f82148fef3602bd47de92 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 13 Oct 2010 11:21:17 -0500 Subject: [PATCH] doc: Discuss ARCH_CLASS settings. --- documentation/README.darwin.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/documentation/README.darwin.html b/documentation/README.darwin.html index f909cc562..68e86171b 100644 --- a/documentation/README.darwin.html +++ b/documentation/README.darwin.html @@ -11,7 +11,7 @@ To build base:
  1. -Set the EPICS_HOST_ARCH environment variable to darwin-ppc. +Set the EPICS_HOST_ARCH environment variable to darwin-ppc, darwin-x86 or darwin-ppcx86. The scripts in the base/startup directory can automate this. For example, here's part of my Bash login script (~/.bash_login): @@ -28,20 +28,27 @@ EPICS_EXTENSIONS="${HOME}/src/EPICS/extensions" cd to the EPICS base top-level source directory.
  2. +Uncomment the appropriate line in the relevent +EPICS_BASE/configure/os/CONFIG_SITE.Common.darwin-xxx file for your EPICS_HOST_ARCH value. +Newer versions of OS X (e.g. Snow Leopard) may include only 64 bit versions of some OS libraries, +so should only have the x86_64 ARCH_CLASS. +
  3. +
  4. Run make.
-
  • -As distributed, EPICS on Mac OS X uses the default command line input +As distributed, EPICS on Mac OS X uses the readline command line input routines. IOC applications are more pleasant to interact with if either the readline or libtecla library is used. The easiest way to get either or both of these libraries on to your system is to download and install them using the either the DarwinPorts -distribution or the Fink package manager. +distribution or the Fink package manager. If you don't want to install +the readline library, set the COMMANDLINE_LIBRARY variable in one of +the CONFIG_SITE files to EPICS.

    Information on DarwinPorts is available from the DarwinPorts @@ -174,6 +181,6 @@ runAppleScript(const char *format, ...) }

     
    -$Id$ +$Revision-Id$