[Ecls-list] Re: Build failure on OS X 10.4.5 x86 (patch)

Brad Beveridge brad.beveridge at gmail.com
Thu Mar 30 21:38:08 UTC 2006

I've removed the error logs, but if anybody else is interested in
patching ECL for OS X Intel, here is at least a first attempt that
looks like it works.  Instructions for compiling are below.


---------- Forwarded message ----------
From: Brad Beveridge <brad.beveridge at gmail.com>
Date: Mar 30, 2006 6:59 PM
Subject: Re: [Ecls-list] Re: Build failure on OS X 10.4.5 x86
To: Juan Jose Garcia Ripoll <lisp at arrakis.es>

I've run the tests and found 192 occurances of the string ERROR!!, I
don't know how this stacks up to regular ECL builds.  Please find the
output files and patch against cvs attached.

The steps I had to go through were very few, the first problem I had
was in gcconfig.h, the I386 define block didn't have any entries for
DARWIN.  After fixing that up I ran into an error in ffi_x86.c, a
generated file.  The assembler code at ffi_x86.d:77 had "rep movsb",
Apple's gcc seams to require this to be on two lines.  Infact I've
seen docs that suggest GCC ought to require it be split also.  Anyhow,
the change should be benign for regular GCC too I think.
And that's about it :)

If this patch is accepted, then OS X Intel users will need to
1) Have DarwinPorts installed
2) Have gmp installed (sudo port install gmp)
3) configure ECL with LDFLAGS=-L/opt/local/lib ./configure
--with-system-gmp --prefix=/opt/local

If you can tell me which tests are failing unexpectedly, I can take a
look at them.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: osx.patch
Type: application/octet-stream
Size: 3131 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20060330/240a48eb/attachment.obj>

More information about the ecl-devel mailing list