Bugs item #1065640, was opened at 2004-11-13 01:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104511&aid=1065640&group_id=4511
Category: compilation bugs
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Denis Bueno (dbueno)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compile fails out-of-the-box on OS X
Initial Comment:
The compilation of matlisp under OS X will fail for various reasons
in the CVS version of matlisp.
I configure'd with:
./configure --with-lisp-exec=/usr/local/bin/sbcl --build=powerpc-
apple
This will fail unless the user (presumably) has followed the advice
given at http://lists.gnu.org/archive/html/autoconf/2003-07/
msg00102.html. However, it didn't end up working immediately for
me, and I ended up configure'ing with:
FLIBS='-L/sw/lib/gcc/powerpc-apple-darwin7.6.0/3.4.1 -L/sw/
lib/gcc/powerpc-apple-darwin7.6.0/3.4.1/../../.. -lfrtbegin -lg2c
-lSystem' ./configure --with-lisp-exec=/usr/local/bin/sbcl --
build=powerpc-apple
This works, but it creates a flawed matlisp.mk, which is fixed by
patch [1] below.
System details:
- uname -a: Darwin johngalt.local 7.6.0 Darwin Kernel
Version 7.6.0: Sun Oct 10 12:05:27 PDT 2004; root:xnu/xnu
-517.9.4.obj~1/RELEASE_PPC Power Macintosh powerpc
- gcc --version: gcc (GCC) 3.3 20030304 (Apple Computer, Inc.
build 1640)
Patches
[1]
--- matlisp.mk Sat Nov 13 01:10:53 2004
+++ matlisp.mk.fixed Sat Nov 13 01:15:35 2004
@@ -81,9 +81,9 @@
CC = gcc
CLIBS =
LIBS =
-LD = ld
+LD = gcc
LDFLAGS =
-SHARED_LIB_LDFLAGS = -G
+SHARED_LIB_LDFLAGS = -bundle
AR = ar
ARFLAGS = rv
LISPEXEC = /usr/local/bin/sbcl
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104511&aid=1065640&group_id=4511
|