Re: sbcl on linux/x86

Raymond Toy <[email protected]> Wed, 02 Jun 2004 17:19:21 -0400
Newsgroups gmane.lisp.matlisp.user
Message-ID <[email protected]>
>>>>> "Robbie" == Robbie Sedgewick <[email protected]> writes:

    Robbie> BTW:  The matlisp build process on sbcl/Mac OS X is still not quite
    Robbie> working.  Configure dies with a wierd error.  I'll try to work on it
    Robbie> tonight.

I'm curious to know what you get.  I had to use the config.guess that
comes with Mac OS X instead of the one from matlisp.  This at least
recognizes powerpc now.

However, configure fails later saying it can't build something with
Fortran.  I tracked it down to the fact that configure builds a test
program like

    int MAIN () { return 1; }

    int main () { return 0; }

and expects that to return 1 if MAIN is the correct name for the
Fortran MAIN subprogram.  Unfortunately on powerpc, the main here
overrides the main given in -lcrt0 (or wherever it's defined).  If I
leave out the definition of main, then 1 is returned as expected.
(Linker errors if MAIN isn't the correct name.)

At this point, I gave up on trying to get configure to work.

BTW, this is with g77, that I downloaded via fink.

Ray



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504