[Ecls-list] Compile of ecl 0.9d on NetBSD/Mac68k softfloat

Juan Jose Garcia Ripoll jlr at mpq.mpg.de
Wed May 18 09:11:39 UTC 2005


Bruce O'Neel wrote:

>My carry around computer is an old Apple Powerbook 540.  These
>have the 68LC040 processors in them which do not have the
>FPUs.
>  
>
Not so long ago I tried running NetBSD on one software emulator for 
these 68k processors :-) The idea was to have several emulated systems 
(68k, arm, etc), with which to port ECL, mostly as an exercise of 
stability and platform independence. Needless to say, I did not get very 
far away. Already compiling/installing the emulator was too much time.

>Since I run NetBSD on it I did a build this past weekend of 0.9d.  It
>only took about 15hrs to build.  I tried 0.9e but it failed on one of
>my other NetBSD boxes (a faster one) and I didn't look too deeply yet
>into why it failed.
>  
>
I began building ECL on a NetBSD like a couple of hours ago. Last time 
it worked fine on NetBSD/x86 and NetBSD/Alpha.

>- NetBSD/m68k sadly defines struct frame in some header
>file which gets included when you #include <signal.h>.
>I solved this by changing frame to cpuframe in the NetBSD
>header files.  Seems like a silly choice for a system
>header file.
>  
>
Hmm, I have no problem changing the name in ecls/src/h/stacks.h, since 
it is only used there.

>- A general NetBSD problem was that I couldn't configure with 
>--tcp=yes and then get a working ecl.  It kept crashing.
>  
>
I'll see if I can reproduce this. The test for the --soft-float flag can 
be easily added to aclocal.m4

>- The reader can't seem to let you floats.  Floats work
>once entered (ie (float (/ 1 10)) gives the right answer)
>but (/ 1.0 10.0) does not.
>- bignums seem broken.  I wonder if that's not the same problem 
>as the one that cropped up during compiling.
>  
>
None of these problems show in the other ports. I wonder if the bignum 
library GMP is working there. Have you tried installing NetBSD's own GMP 
and compiling ECL against it?

>Overall I'm very pleased.  Thanks!  If I get a chance and find these
>problems I'll send some sort of additional email.  I like very much
>having the same environment on all my systems (ppc, i386, sparc, and
>m68k).
>
All kind of help is welcome. It would be nice if ECL becomes the NetBSD 
of Common-Lisps :-)  ("A Common-Lisp that can run in your toaster" :-D)

Juanjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jlr.vcf
Type: text/x-vcard
Size: 361 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20050518/f547147e/attachment.vcf>


More information about the ecl-devel mailing list