From a8f7a91b07a24653205c5fd8bf896c96d181afa6 Mon Sep 17 00:00:00 2001
From: Raymond Toy <toy.raymond@gmail.com>
Date: Sat, 4 May 2013 12:51:34 -0700
Subject: [PATCH] Remove old Config files that are no longer used or supported.

---
 src/lisp/Config.linux             | 18 --------
 src/lisp/Config.linux_gencgc      | 68 -------------------------------
 src/lisp/Config.sun4_mach         | 11 -----
 src/lisp/Config.sun4_solaris_gcc  | 66 ------------------------------
 src/lisp/Config.sun4_solaris_sunc | 60 ---------------------------
 src/lisp/Config.sun4c_41          | 11 -----
 6 files changed, 234 deletions(-)
 delete mode 100644 src/lisp/Config.linux
 delete mode 100644 src/lisp/Config.linux_gencgc
 delete mode 100644 src/lisp/Config.sun4_mach
 delete mode 100644 src/lisp/Config.sun4_solaris_gcc
 delete mode 100644 src/lisp/Config.sun4_solaris_sunc
 delete mode 100644 src/lisp/Config.sun4c_41

diff --git a/src/lisp/Config.linux b/src/lisp/Config.linux
deleted file mode 100644
index 5f7dbc675..000000000
--- a/src/lisp/Config.linux
+++ /dev/null
@@ -1,18 +0,0 @@
-PATH1 = ../../src/lisp
-vpath %.h $(PATH1)
-vpath %.c $(PATH1)
-vpath %.S $(PATH1)
-CPPFLAGS = -I. -I$(PATH1) -I-
-CC = gcc -m32
-LD = ld
-CPP = cpp
-CFLAGS = -Wstrict-prototypes -Wall -O2 -g -DWANT_CGC -m486
-ASFLAGS = -g -DWANT_CGC
-NM = $(PATH1)/linux-nm
-UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
-ASSEM_SRC = x86-assem.S linux-stubs.S
-ARCH_SRC = x86-arch.c
-OS_SRC = Linux-os.c os-common.c
-OS_LINK_FLAGS = -Xlinker --export-dynamic
-OS_LIBS = -ldl
-GC_SRC = cgc.c
diff --git a/src/lisp/Config.linux_gencgc b/src/lisp/Config.linux_gencgc
deleted file mode 100644
index 23f5b232d..000000000
--- a/src/lisp/Config.linux_gencgc
+++ /dev/null
@@ -1,68 +0,0 @@
-# -*- Mode: makefile -*-
-PATH1 = ../../src/lisp
-vpath %.h $(PATH1)
-vpath %.c $(PATH1)
-vpath %.S $(PATH1)
-CC ?= gcc
-LD = ld
-CPP = cpp
-
-
-RUNTIME += -m32 -Di386
-
-# Enable support for :linkage-table feature.
-ifdef FEATURE_LINKAGE_TABLE
-RUNTIME += -DLINKAGE_TABLE
-endif
-
-# Enable support for generational GC
-ifdef FEATURE_GENCGC
-RUNTIME += -DGENCGC
-GC_SRC = gencgc.c
-endif
-
-# Enable support for SSE2.  If FEATURE_X87 is set, we want SSE2
-# support in the C code too so that the same binary is built in both
-# cases.  If neither is set, then we don't want any SSE2 support at
-# all.
-ifdef FEATURE_X87
-RUNTIME += -DFEATURE_SSE2
-else
-ifdef FEATURE_SSE2
-RUNTIME += -DFEATURE_SSE2
-endif
-endif
-
-# Enable support for Unicode
-ifdef FEATURE_UNICODE
-RUNTIME += -DUNICODE
-endif
-
-# __NO_CTYPE so builds on glibc 2.3 will run on (some) older glibc's.
-ifneq (,$(filter 2% 3%, $(shell $(CC) -dumpversion)))
-CPPFLAGS = -D__NO_CTYPE -D_GNU_SOURCE -I. -I$(PATH1) -I- $(RUNTIME)
-else
-CPPFLAGS = -D__NO_CTYPE -D_GNU_SOURCE -iquote. -iquote $(PATH1) $(RUNTIME)
-endif
-
-CFLAGS += -rdynamic -Wstrict-prototypes -Wall -O2 -g $(RUNTIME)
-ASFLAGS = -g $(RUNTIME)
-NM = $(PATH1)/linux-nm
-UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
-ASSEM_SRC = x86-assem.S linux-stubs.S
-ARCH_SRC = x86-arch.c
-OS_SRC = Linux-os.c os-common.c elf.c e_rem_pio2.c k_rem_pio2.c
-OS_LINK_FLAGS = -m32 -rdynamic -Xlinker --export-dynamic -Xlinker -Map -Xlinker foo
-OS_LIBS = -ldl
-#GC_SRC = gencgc.c
-
-# e_rem_pio2.c has strict aliasing issues.  Compile this with
-# strict-aliasing rules turned off.  To see this failure, try
-# computing (cos (expt 2d0 120)).  This should be near
-# -0.92587902285....  If not, then e_rem_pio2 has been miscompiled.
-#
-# Use -ffloat-store to make sure we get double-float arithmetic
-# instead of extended.
-e_rem_pio2.o : e_rem_pio2.c
-	$(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS)  $<
-
diff --git a/src/lisp/Config.sun4_mach b/src/lisp/Config.sun4_mach
deleted file mode 100644
index 4e02ed9c9..000000000
--- a/src/lisp/Config.sun4_mach
+++ /dev/null
@@ -1,11 +0,0 @@
-CPPFLAGS = -I.
-CC = gcc # -Wall -Wstrict-prototypes -Wmissing-prototypes
-CPP = /usr/cs/lib/cpp
-CFLAGS = -g
-ASFLAGS = -g
-NM = nm -gp
-ASSEM_SRC = sparc-assem.S
-ARCH_SRC = sparc-arch.c
-OS_SRC = mach-os.c os-common.c undefineds.c
-OS_LINK_FLAGS=
-OS_LIBS=-lmach
diff --git a/src/lisp/Config.sun4_solaris_gcc b/src/lisp/Config.sun4_solaris_gcc
deleted file mode 100644
index 7d479b84f..000000000
--- a/src/lisp/Config.sun4_solaris_gcc
+++ /dev/null
@@ -1,66 +0,0 @@
-# -*- Mode: makefile -*-
-# These tell gmake where to look for .h, .c and .S files.  Mostly for
-# building the binary outside of the src tree.
-
-
-PATH1 = ../../src/lisp
-vpath %.h .:$(PATH1)
-vpath %.c .:$(PATH1)
-vpath %.S .:$(PATH1)
-
-# For v8plus support (allows 64-bit integer support on V9
-# architectures), uncomment the definitions for CC_V8PLUS and
-# AS_V8PLUS.  The -Wa,xarch=v8plus option tells the assembler to
-# accept v8plus instructions and generate a v8plus object files and
-# executable.
-#
-# However, we should also make sure the binary is marked as v8plus by
-# enabling AS_V8PLUS whenever we have the :sparc-v9 *feature* enabled
-# because we really are a v8plus application by using some of the v9
-# instructions, even if we don't use the 64-bit registers.
-
-#CC_V8PLUS = -xarch=v8plus
-ifdef FEATURE_SPARC_V9
-AS_V8PLUS = -Wa,-xarch=v8plus
-endif
-
-# Enable support for :linkage-table feature.
-
-ifdef FEATURE_LINKAGE_TABLE
-LINKAGE = -DLINKAGE_TABLE
-endif
-
-# Enable support for generational GC
-ifdef FEATURE_GENCGC
-GENCGC = -DGENCGC
-GC_SRC = gencgc.c
-endif
-
-CPPFLAGS = -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC)
-
-# Note: If you want to be able to use gdb with cmucl, you need to use
-# gdb 4.18 (or earlier?) or use gdb 6.8.  Versions 5.x and later
-# (including 6.3) appear to be incapable of passing signals (SIGILL
-# and SIGSEGV) to lisp properly.
-#
-# But, gcc 3.3.3 and later appear to produce executables that gdb 4.18
-# can't handle.  So, we should probably stick with gcc 3.3.2.  Adjust
-# the CC variable appropriately, if necessary.  But gdb 6.8 handles
-# 3.4.3 just fine.
-
-CC = gcc -O -Wall
-#CC = /apps/gnu/solaris2.8/gcc-3.3.3/bin/gcc -O1 -Wall
-CPP = gcc -E
-CFLAGS = -g $(AS_V8PLUS)
-
-# Needed for sys/asm_linkage.h and sparc-assem.S (at least in 2.3)
-# Note that the sys/asm_linkage.h braindamage breaks make depend
-ASFLAGS = -g -traditional-cpp $(AS_V8PLUS)
-DEPEND_FLAGS = -traditional-cpp
-NM = $(PATH1)/solaris-nm
-ASSEM_SRC = sparc-assem.S
-ARCH_SRC = sparc-arch.c
-
-OS_SRC = solaris-os.c os-common.c undefineds.c elf.c k_rem_pio2.c
-OS_LINK_FLAGS=
-OS_LIBS= -lsocket -lnsl -ldl
diff --git a/src/lisp/Config.sun4_solaris_sunc b/src/lisp/Config.sun4_solaris_sunc
deleted file mode 100644
index 2b8f4c16c..000000000
--- a/src/lisp/Config.sun4_solaris_sunc
+++ /dev/null
@@ -1,60 +0,0 @@
-# -*- Mode: makefile -*-
-# These tell gmake where to look for .h, .c and .S files.  Mostly for
-# building the binary outside of the src tree.
-
-PATH1 = ../../src/lisp
-vpath %.h .:$(PATH1)
-vpath %.c .:$(PATH1)
-vpath %.S .:$(PATH1)
-
-# For v8plus support (allows 64-bit integer support on V9
-# architectures), uncomment the definitions for CC_V8PLUS and
-# AS_V8PLUS.  The -Wa,xarch=v8plus option tells the assembler to
-# accept v8plus instructions and generate a v8plus object files and
-# executable.
-#
-# However, we should also make sure the binary is marked as v8plus by
-# enabling AS_V8PLUS whenever we have the :sparc-v9 *feature* enabled
-# because we really are a v8plus application by using some of the v9
-# instructions, even if we don't use the 64-bit registers.
-
-ifdef FEATURE_SPARC_V9
-CC_V8PLUS = -xarch=v8plus
-AS_V8PLUS = -xarch=v8plus
-endif
-
-# Enable support for :linkage-table feature.
-
-ifdef FEATURE_LINKAGE_TABLE
-LINKAGE = -DLINKAGE_TABLE
-endif
-
-# Enable support for generational GC
-ifdef FEATURE_GENCGC
-GENCGC = -DGENCGC
-GC_SRC = gencgc.c
-endif
-
-# Enable support for Unicode
-ifdef FEATURE_UNICODE
-UNICODE = -DUNICODE
-endif
-
-CPPFLAGS = -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC) $(UNICODE)
-
-
-CC = cc -xlibmieee
-CPP = cc -E
-CFLAGS = -g $(CC_V8PLUS)
-ASFLAGS = $(AS_V8PLUS)
-
-NM = $(PATH1)/solaris-nm
-ASSEM_SRC = sparc-assem.S
-ARCH_SRC = sparc-arch.c
-
-DEPEND=$(CC) 
-DEPEND_FLAGS = -xM
-OS_SRC = solaris-os.c os-common.c undefineds.c elf.c k_rem_pio2.c
-OS_LINK_FLAGS=
-OS_LIBS= -lsocket -lnsl -ldl
-
diff --git a/src/lisp/Config.sun4c_41 b/src/lisp/Config.sun4c_41
deleted file mode 100644
index 50e23256f..000000000
--- a/src/lisp/Config.sun4c_41
+++ /dev/null
@@ -1,11 +0,0 @@
-CPPFLAGS = -I. -DSUNOS
-CC = gcc # -Wall -Wstrict-prototypes -Wmissing-prototypes
-CPP = /lib/cpp
-CFLAGS = -O
-ASFLAGS = -O
-NM = nm -gp
-ASSEM_SRC = sparc-assem.S
-ARCH_SRC = sparc-arch.c
-OS_SRC = sunos-os.c os-common.c undefineds.c
-OS_LINK_FLAGS= -Xlinker -Bstatic
-OS_LIBS=
-- 
GitLab