Reduce pinned object table size, part 1 of 2.
[sbcl.git] / src / runtime / Config.x86-linux
blobc2307f2592647094120ed17cf188ab40ed8a237e
1 # -*- makefile -*- for the C-level run-time support for SBCL
3 # This software is part of the SBCL system. See the README file for
4 # more information.
6 # This software is derived from the CMU CL system, which was
7 # written at Carnegie Mellon University and released into the
8 # public domain. The software is in the public domain and is
9 # provided with absolutely no warranty. See the COPYING and CREDITS
10 # files for more information.
12 NM = ./linux-nm
14 ASSEM_SRC = x86-assem.S ldso-stubs.S
15 ARCH_SRC = x86-arch.c
16 OS_SRC = linux-os.c x86-linux-os.c
18 # The "--Wl,--export-dynamic" flags are here to help people
19 # experimenting with callbacks from C to SBCL, by allowing linkage to
20 # SBCL src/runtime/*.c symbols from C. Work on this is good, but it's
21 # definitely bleeding edge and not particularly stable. In particular,
22 # not only are the workarounds for the GC relocating Lisp code and
23 # data unstable, but even the basic calling convention might end up
24 # being unstable. Unless you want to do some masochistic maintenance
25 # work when new releases of SBCL come out, please don't try to build
26 # real code on this until a coherent stable interface has been added.
27 # (You *are* encouraged to design and implement a coherent stable
28 # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
29 # working on one and it would be a nice thing to have.)
30 LINKFLAGS += -Wl,--export-dynamic -m32
31 OS_LIBS = -ldl
32 __LDFLAGS__ = -m elf_i386
35 ifdef LISP_FEATURE_LARGEFILE
36   CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
37 endif
38 CFLAGS += -m32 -fno-omit-frame-pointer
40 ifdef LISP_FEATURE_SB_THREAD
41   OS_LIBS += -lpthread
42 endif
43 ifdef LISP_FEATURE_SB_CORE_COMPRESSION
44   OS_LIBS += -lz
45 endif
46 ifdef LISP_FEATURE_SB_LINKABLE_RUNTIME
47   LIBSBCL = sbcl.o
48   USE_LIBSBCL = sbcl.o
49 endif
51 GC_SRC = gencgc.c hopscotch.c
53 # Nothing to do for after-grovel-headers.
54 .PHONY: after-grovel-headers
55 after-grovel-headers: