From: Harald Schmidt
Subject: Which LISP for MacOSX? CMUCL?
Date: 
Message-ID: <B983ADB9.83B3%Harald.Schmidt@anObject.de>
...I am searching for lisp system, which runs on MacOSX.

My favorite is CMUCL, but there are only ports for x86 platforms. Has anyone
done a port to MacOSX?

Thanks for any hint.

Harald

From: Edward O'Connor
Subject: Re: Which LISP for MacOSX? CMUCL?
Date: 
Message-ID: <ubs813oiy.fsf@oconnor.cx>
> ...I am searching for lisp system, which runs on MacOSX.

How about OpenMCL?


Ted

-- 
Edward O'Connor
···@oconnor.cx
From: Rahul Jain
Subject: Re: Which LISP for MacOSX? CMUCL?
Date: 
Message-ID: <871y8xb5q2.fsf@photino.localnet>
Harald Schmidt <··············@anObject.de> writes:

> ...I am searching for lisp system, which runs on MacOSX.
> 
> My favorite is CMUCL, but there are only ports for x86 platforms. Has anyone
> done a port to MacOSX?

SBCL runs on Linux PPC... so close, but yet so far?

-- 
-> -/                        - Rahul Jain -                        \- <-
-> -\  http://linux.rice.edu/~rahul -=-  ············@techie.com   /- <-
-> -X "Structure is nothing if it is all you got. Skeletons spook  X- <-
-> -/  people if [they] try to walk around on their own. I really  \- <-
-> -\  wonder why XML does not." -- Erik Naggum, comp.lang.lisp    /- <-
|--|--------|--------------|----|-------------|------|---------|-----|-|
   (c)1996-2002, All rights reserved. Disclaimer available upon request.
From: Daniel Barlow
Subject: Re: Which LISP for MacOSX? CMUCL?
Date: 
Message-ID: <87ptwhhr2s.fsf@noetbook.telent.net>
Rahul Jain <·····@rice.edu> writes:

> Harald Schmidt <··············@anObject.de> writes:
>
>> ...I am searching for lisp system, which runs on MacOSX.
>> 
>> My favorite is CMUCL, but there are only ports for x86 platforms. Has anyone
>> done a port to MacOSX?
>
> SBCL runs on Linux PPC... so close, but yet so far?

MacOS 10.1 does not support SA_SIGINFO three argument signal handlers
(despite having a sigaction(2) manual page that claims that it does)
which SBCL (and probably CMUCL) needs for determining things like the
PC and the register contents at the time a signal was received.  This
is used for things like GC roots, for example.

Reportedly this has been added in 10.2 ("Jaguar") but as far as I know
none of the SBCL developers have access to this at the moment.

The original poster's other option is to use OpenMCL (primarily
written by the same Gary Byers who originally produced the compiler
backend that SBCL is using on Linux PPC ...) which does run on 10.1,
and is reported to work around this particular problem using another
Mach task to fake up a SA_SIGINFO-stype signal stack frame when a
signal is received.

(No doubt we could borrow this technique for SBCL, but absent some
more convincing kind of motivation than 'hack value', there are other
SBCL projects to work on which are more pressing and/or more fun)


-dan

-- 

  http://ww.telent.net/cliki/ - Link farm for free CL-on-Unix resources 
From: Bruce Hoult
Subject: Re: Which LISP for MacOSX? CMUCL?
Date: 
Message-ID: <bruce-7B59F5.15110318082002@copper.ipg.tsnz.net>
In article <··············@photino.localnet>,
 Rahul Jain <·····@rice.edu> wrote:

> Harald Schmidt <··············@anObject.de> writes:
> 
> > ...I am searching for lisp system, which runs on MacOSX.
> > 
> > My favorite is CMUCL, but there are only ports for x86 platforms. Has anyone
> > done a port to MacOSX?
> 
> SBCL runs on Linux PPC... so close, but yet so far?

The ABIs are different.  Stack layout, how many registers are available 
for arguments.  Stuff like that.  It shouldn't be a huge job for someone 
who knows the exact details of both.

-- Bruce
From: Rahul Jain
Subject: Re: Which LISP for MacOSX? CMUCL?
Date: 
Message-ID: <877kiodvy2.fsf@photino.localnet>
Bruce Hoult <·····@hoult.org> writes:

> In article <··············@photino.localnet>,
>  Rahul Jain <·····@rice.edu> wrote:
> 
> > Harald Schmidt <··············@anObject.de> writes:
> > 
> > > ...I am searching for lisp system, which runs on MacOSX.
> > > 
> > > My favorite is CMUCL, but there are only ports for x86 platforms. Has anyone
> > > done a port to MacOSX?
> > 
> > SBCL runs on Linux PPC... so close, but yet so far?
> 
> The ABIs are different.  Stack layout, how many registers are available 
> for arguments.  Stuff like that.  It shouldn't be a huge job for someone 
> who knows the exact details of both.

Actually, it was signal handling that was the problem with porting to
OS X/Darwin. Supposedly 10.2 fixes these issues, so sbcl porting work
can start (if anyone has the time/inclination and hasn't already given
up on OS X because they couldn't get sbcl running on it ;).

-- 
-> -/                        - Rahul Jain -                        \- <-
-> -\  http://linux.rice.edu/~rahul -=-  ············@techie.com   /- <-
-> -X "Structure is nothing if it is all you got. Skeletons spook  X- <-
-> -/  people if [they] try to walk around on their own. I really  \- <-
-> -\  wonder why XML does not." -- Erik Naggum, comp.lang.lisp    /- <-
|--|--------|--------------|----|-------------|------|---------|-----|-|
   (c)1996-2002, All rights reserved. Disclaimer available upon request.
From: Dave Seaman
Subject: Re: Which LISP for MacOSX? CMUCL?
Date: 
Message-ID: <ajmhbf$nkc@seaman.cc.purdue.edu>
In article <····························@anObject.de>,
Harald Schmidt  <··············@anObject.de> wrote:
>...I am searching for lisp system, which runs on MacOSX.
>
>My favorite is CMUCL, but there are only ports for x86 platforms. Has anyone
>done a port to MacOSX?

It's easy to install clisp via fink (fink.sourceforge.net).

-- 
Dave Seaman			·······@purdue.edu
Mumia Abu-Jamal's attorneys present evidence of innocence.
<http://www.freemumia.com/>
From: Pierre R. Mai
Subject: Re: Which LISP for MacOSX? CMUCL?
Date: 
Message-ID: <m2hehsewlr.fsf@ibook.bln.pmsf.net>
Harald Schmidt <··············@anObject.de> writes:

> ...I am searching for lisp system, which runs on MacOSX.
>
> My favorite is CMUCL, but there are only ports for x86 platforms. Has anyone
> done a port to MacOSX?

I've been planning a port to Mac OS X for some time, and once 10.2
materializes (with sane POSIX signal handling), I might even do
something about it, ripping of most of the hard work of the fine SBCL
people in resurrecting the CMUCL PPC backend that was contributed by
Gary Byers... ;)

That said, don't exactly hold your breath just yet...

On the SBCL side of things, there seems to be also some interest in
doing a Mac OS X port (they have the advantage of already having a
fully working/supported PPC backend), so that's also something to keep
an eye on.

However for the non-CMUCL/SBCL addict, OpenMCL (again due to Gary
Byers) is getting an increasingly attractive implementation for Mac OS
X, especially with the recent work on interfacing with Cocoa...

Regs, Pierre.

-- 
Pierre R. Mai <····@acm.org>                    http://www.pmsf.de/pmai/
 The most likely way for the world to be destroyed, most experts agree,
 is by accident. That's where we come in; we're computer professionals.
 We cause accidents.                           -- Nathaniel Borenstein
From: Thomas F. Burdick
Subject: Re: Which LISP for MacOSX? CMUCL?
Date: 
Message-ID: <xcvd6sgt8fz.fsf@famine.OCF.Berkeley.EDU>
Pierre R. Mai <····@acm.org> writes:

> On the SBCL side of things, there seems to be also some interest in
> doing a Mac OS X port (they have the advantage of already having a
> fully working/supported PPC backend), so that's also something to keep
> an eye on.

When 10.2 comes out, I'm going to try the port.  Assuming everything
goes well, it should be available shortly thereafter -- if going gets
tough, though, I've got a research project that trumps it in
importance, and it'll be October before I'd get back to it.  Hopefully
it'll be easy :)

> However for the non-CMUCL/SBCL addict, OpenMCL (again due to Gary
> Byers) is getting an increasingly attractive implementation for Mac OS
> X, especially with the recent work on interfacing with Cocoa...

I was thinking of extending the alien interface to handle Objective C
interoperability -- I'll have to check this out.

-- 
           /|_     .-----------------------.                        
         ,'  .\  / | No to Imperialist war |                        
     ,--'    _,'   | Wage class war!       |                        
    /       /      `-----------------------'                        
   (   -.  |                               
   |     ) |                               
  (`-.  '--.)                              
   `. )----'