Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
e0d3ec7f
Commit
e0d3ec7f
authored
19 years ago
by
rtoy
Browse files
Options
Downloads
Patches
Plain Diff
Add some info about simple builds using the new src/tools/build.sh
script.
parent
a668fdc2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
BUILDING
+58
-0
58 additions, 0 deletions
BUILDING
with
58 additions
and
0 deletions
BUILDING
+
58
−
0
View file @
e0d3ec7f
...
@@ -68,6 +68,64 @@ Setting up a build environment
...
@@ -68,6 +68,64 @@ Setting up a build environment
That's it, you are now ready to build CMU CL.
That's it, you are now ready to build CMU CL.
A quick guide for simple builds
-------------------------------
We recommend that you read all of this document, but in case you don't
want to do that and in case you know, somehow, that the version of
CMUCL you are building from will build the sources you have, here is a
quick guide.
a) Simple builds
Use this to build from a version of CMUCL that is very close to the
sources you are trying to build now:
src/tools/build.sh -C "" -o "<name-of-old-lisp> <options-to-lisp>"
This will build CMUCL 3 times, each time with the result of the
previous build. The last time, the additional libraries like CLX,
CLM, and Hemlock are built. The final result will be in the
directory build-4.
This script basically runs create-target.sh, build-world.sh,
load-world.sh three times. See below for descriptions of these
scripts.
b) Slightly more complicated builds
For slightly more complicated builds, you may need to use some
bootstrap files. See below for more information about these
bootstrap files.
For these, you can use this:
src/tools/build.sh -C "" -o "<old-lisp>" -B boot1.lisp -B boot2.lisp
The bootstrap files listed with the -B option (as many as needed)
are loaded in order, so be sure to get them right.
As in a) above, three builds are done, and the result is in the
directory build-4.
c) More complicated builds
If you have more complicated builds, this script probably will not
work, and definitely does not handle cross-compiles. In this case,
you will have to invoke the individual scripts by hand, as
described below.
How do you know which of the three options above apply? The easiest
way is to look in src/bootfiles/<version>/* for boot files. If the
file date of a boot file is later than the version of CMUCL you are
building from, then you need to use b) or c) above. You may need to
read the bootfiles for additional instructions, if any.
If there are no bootfiles, then you can use a) above.
The build.sh script supports other options, and src/tools/build.sh -?
will give a quick summary. Read src/tools/build.sh for more
information.
A general outline of the build process
A general outline of the build process
--------------------------------------
--------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment