From 75b3d072dd6a56dbe7d4fc675082056c2f2b54b2 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Wed, 22 Jun 2011 13:22:03 +0000 Subject: cleanup --- src/interp/Makefile.in | 20 -------------------- src/interp/util.lisp | 20 +------------------- 2 files changed, 1 insertion(+), 39 deletions(-) (limited to 'src/interp') diff --git a/src/interp/Makefile.in b/src/interp/Makefile.in index ec291d40..501e50f4 100644 --- a/src/interp/Makefile.in +++ b/src/interp/Makefile.in @@ -39,11 +39,6 @@ IN=$(srcdir) DOC=$(axiom_target_docdir)/src/interp BOOK=$(axiom_target_docdir) -# Do we still need this? -AUTO=$(axiom_targetdir)/autoload - -autoload_objects = - # Driver to launch translation and compilation DRIVER = $(top_builddir)/src/driver/open-axiom$(EXEEXT) @@ -125,8 +120,6 @@ OCOBJS= \ profile.$(FASLEXT) functor.$(FASLEXT) \ nruncomp.$(FASLEXT) htcheck.$(FASLEXT) -autoload_objects += $(OCOBJS) - # Browser component files. BROBJS= bc-matrix.$(FASLEXT) \ bc-misc.$(FASLEXT) bc-solve.$(FASLEXT) \ @@ -139,8 +132,6 @@ BROBJS= bc-matrix.$(FASLEXT) \ topics.$(FASLEXT) br-prof.$(FASLEXT) \ br-saturn.$(FASLEXT) -autoload_objects += $(BFOBJS) - TIMESTAMP=$(axiom_targetdir)/timestamp YEARWEEK=(progn (defconstant timestamp "${TIMESTAMP}") \ (setq *build-version* "$(PACKAGE_STRING)") \ @@ -251,9 +242,6 @@ database.date: @ touch database.date -## Copy FASLs that are autoloaded to the autoload directory. -.PREVIOUS: $(AUTO)/%.$(FASLEXT) - $(AUTO)/%.$(FASLEXT): %.$(FASLEXT) @cp -p $< $@ @@ -342,14 +330,6 @@ server.$(FASLEXT): macros.$(FASLEXT) ## (a) the interprerter's parser -- also referred to as new parser ## (b) the compiler parser -- also referred to as parser ## -## The new parser component is always included in a running OpenAxiom -## image. However the old parser component is so called `autoloaded'. -## While in theory that should work, in practice it turns out that -## people tend to override functions in the autoload part, correcting -## bugs only there. The consequence is that the same function will -## behave very differently based on the history of the seesion. Ideal -## recipe for creating heisenbugs. -## ## The old parser component roughtly is: ## diff --git a/src/interp/util.lisp b/src/interp/util.lisp index b05042e9..873bb03c 100644 --- a/src/interp/util.lisp +++ b/src/interp/util.lisp @@ -239,28 +239,10 @@ ;; directory from the current {\bf AXIOM} shell variable. (defvar $relative-library-directory-list '("/algebra/")) -;############################################################################ -;# autoload dependencies -;# -;# if you are adding a file which is to be autoloaded the following step -;# information is useful: -;# there are 2 cases: -;# 1) adding files to currently autoloaded parts -;# (as of 2/92: browser old parser and old compiler) -;# 2) adding new files -;# case 1: -;# a) you have to add the file to the list of files currently there -;# (e.g. see BROBJS above) -;# b) add an autolaod rule -;# (e.g. ${AUTO}/parsing.${O}: ${OUT}/parsing.${O}) -;# c) edit util.lisp to add the 'external' function (those that -;# should trigger the autoload -;############################################################################ - ;; This function calls `reroot' to set up pathnames we need. Next ;; it sets up the lisp system memory (at present only for AKCL/GCL). Next ;; it loads all of the named files, resets a few global state variables, -;; loads the databases, sets up autoload triggers and clears out hash tables. +;; loads the databases. ;; After this function is called the image is clean and can be saved. (defun build-interpsys () -- cgit v1.2.3