-
Notifications
You must be signed in to change notification settings - Fork 2
/
customizations.lisp.in
38 lines (29 loc) · 1.32 KB
/
customizations.lisp.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
;;; Copy this file to "customizations.lisp"
;;; User customizations for the build.
;;; This file is LOADed by INITIALIZE-BUILD (in build-abcl.lisp).
;;; The variable *PLATFORM-IS-WINDOWS* should be true on Windows platforms. You
;;; can, of course, substitute your own test for this in the code below, or add
;;; a section for OS X, or Solaris, or whatever...
;;; You MUST set *JDK* to the location of the JDK you want to use. Remove or
;;; comment out settings that don't apply to your situation.
;;; You don't really need to specify anything but *JDK*. *JAVA-COMPILER* and
;;; *JAR* default to javac and jar, respectively, from the configured JDK.
;;; Directories should be specified with a trailing slash (or, on Windows, a
;;; trailing backslash).
(in-package "BUILD-ABCL")
;; Standard compiler options.
(setq *javac-options* "-g")
(setq *jikes-options* "+D -g")
;; *PLATFORM* will be either :WINDOWS, :DARWIN, :LINUX, or :UNKNOWN.
(case *platform*
(:windows
(setq *jdk* "C:\\Program Files\\Java\\jdk1.5.0_11\\")
#+(or) (setq *java-compiler* "jikes")
)
(:darwin
(setq *jdk* "/usr/")
(setq *java-compiler* "jikes")
#+(or) (setq *jar* "jar"))
((:linux :unknown)
(setq *jdk* "/home/peter/sun/jdk1.5.0_11/")
(setq *jar* "fastjar")))