1 |
|
|
2 |
|
# notes for redhat 6.0 |
3 |
|
# the configure should select the compiler GCC=/usr/bin/i386-glibc20-linux-gcc |
4 |
|
# However for the gcl-tk directory, you must use plain 'gcc' since |
5 |
|
# that must link with the tcl tk libs which have been compiled with it. |
6 |
|
# so after configure change to GCC=gcc in the gcl-tk/makefile |
7 |
|
|
8 |
|
|
9 |
|
# Machine dependent makefile definitions for intel 386,486 running linux |
10 |
|
|
11 |
|
LBINDIR=/usr/local/bin |
12 |
|
|
13 |
|
#OFLAG = -g |
14 |
|
OFLAG = -O |
15 |
|
#LIBS = -lm |
16 |
|
|
17 |
|
ODIR_DEBUG= -O4 |
18 |
|
#ODIR_DEBUG= -g |
19 |
|
|
20 |
|
# This CC string will be used for compilation of the system, |
21 |
|
# and also in the compiler::*cc* variable for later compilation of |
22 |
|
# lisp files. |
23 |
|
# (the -pipe is just since our file system is slow..) |
24 |
|
CC = ${GCC} -pipe -fwritable-strings -DVOL=volatile -I$(GCLDIR)/o -fsigned-char |
25 |
|
|
26 |
|
# under redhat 6.1 and slackware 7.0 we needed to have this |
27 |
|
# link be static, but should be ok with the fix to unixport/rsym_elf.c |
28 |
|
LDCC=${CC} -static |
29 |
|
LDCC=${CC} |
30 |
|
|
31 |
|
# note for linuxaout on an elf machine add -b i486-linuxaout |
32 |
|
# CC = gcc -pipe -fwritable-strings -DVOL=volatile -I$(GCLDIR)/o -fsigned-char -b i486-linuxaout |
33 |
|
|
34 |
|
# Enable the fastloading mechanism which does not use ld -A |
35 |
|
# requires c/rel_.. machine dependent code. |
36 |
|
|
37 |
|
RSYM = rsym |
38 |
|
SFASL = $(ODIR)/sfasl.o |
39 |
|
|
40 |
|
|
41 |
|
#MPFILES= $(MPDIR)/mpi-386d.o $(MPDIR)/libmport.a |
42 |
|
|
43 |
|
|
44 |
|
# When using SFASL it is good to have (si::build-symbol-table) |
45 |
|
INITFORM=(si::build-symbol-table) |
46 |
|
|
47 |
|
# Use symbolic links |
48 |
|
SYMB=-s |
49 |
|
|
50 |
|
LIBFILES=bsearch.o |
51 |
|
|
52 |
|
# the make to use for saved_kcp the profiler. |
53 |
|
KCP=kcp-bsd |