LispWorks Release Notes and Installation Guide > 2 Installation on Mac OS X > 2.5 Starting LispWorks for Macintosh


2.5.2 Start the GTK+ LispWorks GUI

Assuming you have installed the "LispWorks with X11 IDE" option, and that you have X11 running and GTK+ installed, you can now start LispWorks with the GTK+ GUI.

Note that the supplied image does not start its GUI automatically by default. There are three alternate ways to make the GUI start:

Follow this session in the X11 terminal (xterm by default):

xterm% cd "/Applications/LispWorks 6.0"
xterm% ./lispworks-6-0-0-macos-universal-gtk
LispWorks(R): The Common Lisp Programming Environment
Copyright (C) 1987-2009 LispWorks Ltd.  All rights reserved.
Version 6.0.0
Saved by LispWorks as lispworks-6-0-0-x86-darwin-gtk, at 04 Sep 2009 22:09
User dubya on octane
; Loading text file /Applications/LispWorks 6.0/Library/lib/6-0-0-0/config/siteinit.lisp
; Loading text file /Applications/LispWorks 6.0/Library/lib/6-0-0-0/private-patches/load.lisp
; Loading text file /u/ldisk/dubya/.lispworks
CL-USER 1 > (env:start-environment)

The LispWorks GTK+ IDE should appear.

You may put the call to env:start-environment at the end of your initialization file, if desired.

The -env command line argument causes the function env:start-environment to be called.

Follow this session in the X11 terminal:

xterm% cd "/Applications/LispWorks 6.0"
xterm% ./lispworks-6-0-0-macos-universal-gtk

The LispWorks GTK+ IDE should appear.

If you want to create a LispWorks image which starts the GUI automatically, you should make a save-image script that calls

    ( save-image ... :environment t)

and run the supplied lispworks-6-0-0-macos-universal-gtk image with -build followed by the script filename on its command line.

Note: This will create a non-universal binary, containing only the architecture on which you call save-image .

See Configuring your LispWorks installation for more information about configuring your LispWorks image for your own needs.

LispWorks Release Notes and Installation Guide - 21 Dec 2009