source: tags/0.00.8/j/customizations.lisp

Last change on this file was 9571, checked in by piso, 19 years ago

Work in progress.

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