Changeset 14846
- Timestamp:
- 02/27/16 07:29:33 (7 years ago)
- Location:
- trunk/abcl
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/README
r14653 r14846 122 122 ------------------ 123 123 124 Building from a Lisp is the most venerable and untested way of 125 building ABCL. It produces a "non-standard" version of the 126 distribution that doesn't share build instructions with the previous 127 two methods, but it still may be of interest to those who absolutely 128 don't want to know anything about Java. 124 Building from another Common Lisp implementation is the most venerable 125 and least tested way of building ABCL. It produces a "non-standard" 126 version of the distribution that doesn't share build instructions with 127 the previous two methods, but it still may be of interest to those who 128 absolutely don't want to know anything about Java. The other Common 129 Lisp implementation does not actually perform any compliation, but is 130 merely used to orchestrate the invocation of tools in the JDK. 129 131 130 132 First, copy the file 'customizations.lisp.in' to 'customization.lisp', … … 136 138 'bin/javac' ('bin/javac.exe' under Windows). 137 139 138 Then, one may either use the 'build-from-lisp. sh' shell script or load140 Then, one may either use the 'build-from-lisp.bash' shell script or load 139 141 the necessary files into your Lisp image by hand. 140 142 141 ** Using the 'build-from-lisp.sh' script 142 143 Under UNIX-like systems, you may simply invoke the 144 'build-from-lisp.sh' script as './build-from-lisp.sh 145 <lisp-of-choice>', e.g. 146 147 unix$ ./build-from-lisp.sh sbcl 143 ** Using the 'build-from-lisp.bash' script 144 145 Under UNIX-like systems, one may simply invoke the 146 'build-from-lisp.bash' script. As noted above, one must first copy the 147 'customizations.lisp.in' file to 'customizations.lisp', then edit it 148 to reflect the local configuration most importantly the path to the 149 Java Development Kit. 150 151 After configuring 'customizations.lisp', the following would use SBCL 152 as the compilation driver to build ABCL: 153 154 unix$ ./build-from-lisp.bash sbcl 148 155 149 156 After a successful build, you may use 'abcl' ('abcl.bat' on Windows) … … 153 160 If you're developing on ABCL, you may want to use 154 161 155 unix$ ./build-from-lisp. sh <implementation> --clean=nil162 unix$ ./build-from-lisp.bash <implementation> --clean=nil 156 163 157 164 to not do a full rebuild. … … 159 166 In case of failure in the javac stage, you might try this: 160 167 161 unix$ ./build-from-lisp. sh <implementation> --full=t --clean=t --batch=nil168 unix$ ./build-from-lisp.bash <implementation> --full=t --clean=t --batch=nil 162 169 163 170 This invokes javac separately for each .java file, which avoids running 164 171 into limitations on command line length (but is a lot slower). 165 172 166 ** Building from another Lisp by hand173 ** Building from another Lisp manually 167 174 168 175 There is also an ASDF definition in 'abcl.asd' for the BUILD-ABCL -
trunk/abcl/build-from-lisp.bash
r14845 r14846 1 #!/ bin/bash1 #!/usr/bin/env bash 2 2 # $Id$ 3 3 # … … 6 6 usage() 7 7 { 8 echo "$0 <implementation> [[ --clean=T | --full=T | --batch=NIL ]]" 8 echo "WARNING: This build method can produce slightly different results than" 9 echo " the canonical Ant build method." 10 echo 11 echo "USAGE:" 12 echo "$0 <implementation> [[ --clean=T | --full=T | --batch=NIL ]]" 9 13 } 10 14 … … 64 68 FORM="(build-abcl:build-abcl :clean $CLEAN :full $FULL :batch $BATCH)" 65 69 FILE="build-abcl.lisp" 70 71 if [[ ! -r customizations.lisp ]]; then 72 cat <<-EOF 73 74 Failed to find configuration in 'customizations.lisp'. Please copy 75 'customizations.lisp.in' to 'customizations.lisp', editing it to 76 reflect local configuration. 77 78 EOF 79 exit 1 80 fi 81 66 82 67 83 -
trunk/abcl/build.xml
r14800 r14846 681 681 <include name="test/**"/> 682 682 683 <include name="build-from-lisp. sh"/>683 <include name="build-from-lisp.bash"/> 684 684 685 685 <!-- The remainder of these files are used by the Lisp hosted
Note: See TracChangeset
for help on using the changeset viewer.