Fred Gilham pushed to branch master at cmucl / cmucl Commits: 39b6b59b by Fred Gilham at 2017-03-21T18:16:45-07:00 Changes to allow building CMUCL under FreeBSD 10 and later. - - - - - 3 changed files: - src/lisp/Config.x86_freebsd - src/motif/server/Config.FreeBSD - src/tools/linker.sh Changes: ===================================== src/lisp/Config.x86_freebsd ===================================== --- a/src/lisp/Config.x86_freebsd +++ b/src/lisp/Config.x86_freebsd @@ -1,5 +1,7 @@ # -*- Mode: makefile -*- include Config.x86_common +# Set the path to your 32-bit verison of GCC here. +CC=gcc CPPFLAGS += -march=pentium4 -mfpmath=sse ===================================== src/motif/server/Config.FreeBSD ===================================== --- a/src/motif/server/Config.FreeBSD +++ b/src/motif/server/Config.FreeBSD @@ -1,3 +1,5 @@ +## Path to 32-bit GCC compiler. +CC=gcc CFLAGS = -pthread -O2 -I/usr/local/include -I. -I$(VPATH) LDFLAGS = -L/usr/local/lib LIBS = -lXm -lXt -lX11 ===================================== src/tools/linker.sh ===================================== --- a/src/tools/linker.sh +++ b/src/tools/linker.sh @@ -70,7 +70,7 @@ case $uname_s in # See Config.x86_${uname_s} case $uname_s in Linux) OS_LIBS=-ldl;; - FreeBSD) OS_LIBS=-lutil;; + FreeBSD) OS_LIBS="-B/usr/lib32 -lutil";; esac ;; Darwin) View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/39b6b59b81aa4600e025bd1bf2...