ECL build problems & some resolution, was: clean build w/ ECL fails



On 12/13/08, Raymond Toy <toy.raymond at gmail.com> wrote:

> Hmm.  I just did a fresh checkout of the 5.17 branch and built it on my
>  OSX box.  The only issue is the :ld-flags you added recently.  That, of
>  course, doesn't work on OSX.  I removed it and maxima is built just fine
>  on OSX.  (We'll have to fix that before the release.  I guess configure
>  will have to set the appropriate flags.)

Ray, I've changed the :ld-flags stuff. Now there is a new variable
*AUTOCONF-LD-FLAGS* in src/autoconf-variables.lisp which captures
the value of LDFLAGS supplied to ./configure, e.g. via
LDFLAGS=--foobar ./configure --enable-ecl
and that value is forwarded to ECL's C::BUILD-PROGRAM if present.
I think if you run ./configure without LDFLAGS then it should work as
before I started messing with it.

Maxima as built by ECL at present doesn't allow compiled functions
to be redefined (because calls are inlined, that's allowed by CLHS).
Apparently an appropriate proclamation could change that, e.g.
(DECLAIM (OPTIMIZE (DEBUG 2))) or something. I'll look into it.
It's a fairly big deal since many share packages redefine core functions.

FWIW

Robert Dodier