Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Building clisp on Solaris 10/sparc and Mac 105.8/PPC

71 views
Skip to first unread message

Nemo

unread,
Sep 5, 2016, 5:47:06 PM9/5/16
to
Greetings (and apologies if this the wrong list):

I am trying to build clisp on Solaris 10/sparc and Mac 10.5.8/ppc. I
downloaded clisp-2.49 and tried with various versions of gcc (as well as
SunStudio). All failed (in different ways).

Could someone please tell me (or point me to) the version of gcc and
configuration script that will build cllisp on these platforms? (My
google searches did not find anything that helped.)

N.

Pascal J. Bourguignon

unread,
Sep 10, 2016, 3:16:12 PM9/10/16
to
On MacOSX 10.5.8/ppc, you can get clisp 2.49 from MacPorts.
https://www.macports.org/install.php#installing



This clisp from MacPorts is version 2.49, and doesn't have FFI, since
avlib/ffcall wasn't ported to that version of the system on that
processor. (So even if you compile it yourself, you would have to work
hard on avcall/ffcall to get FFI in clisp; perhaps backporting a later
version?).

C/USER[4]> (COM.INFORMATIMAGO.TOOLS.MANIFEST:PRINT-BUG-REPORT-INFO)


LISP-IMPLEMENTATION-TYPE "CLISP"
LISP-IMPLEMENTATION-VERSION "2.49 (2010-07-07) (built 3587020627) (memory 3587022785)"
SOFTWARE-TYPE
"/usr/bin/gcc-4.2 -arch ppc -pipe -arch ppc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -falign-functions=4 -DUNIX_BINARY_DISTRIB -DENABLE_UNICODE -DDYNAMIC_MODULES -I. -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -lintl -Wl,-framework -Wl,CoreFoundation -lreadline -lncurses -liconv -L/opt/local/lib -lsigsegv -lc -R/opt/local/lib libgnu_cl.a
SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY
libsigsegv 2.9
libiconv 1.14
libreadline 6.2"
SOFTWARE-VERSION "GNU C 4.2.1 (Apple Inc. build 5566)"
MACHINE-INSTANCE "triton.lan.informatimago.com [192.168.7.5]"
MACHINE-TYPE "POWER MACINTOSH"
MACHINE-VERSION "POWER MACINTOSH"
distribution (:UNKNOWN :UNKNOWN :UNKNOWN)
uname -a :UNKNOWN
*FEATURES*
(:TESTING-SCRIPT :COM.INFORMATIMAGO.PJB :CLISP-HAS-STREAM-READ/WRITE-SEQUENCE
:CLOSER-MOP :SPLIT-SEQUENCE :COM.INFORMATIMAGO.COMMON-LISP.LISP.CL-STEPPER
:USE-REGEXP :CL-PPCRE :NEWLINE-IS-LINEFEED :HAS-ASCII-CODE :HAS-NULL :HAS-VT
:HAS-BELL :HAS-ESCAPE :HAS-LINEFEED :HAS-RETURN :HAS-BACKSPACE :HAS-TAB
:HAS-PAGE :HAS-RUBOUT :QUICKLISP :ASDF2 :ASDF :ASDF-UNICODE :X86 :REGEXP
:SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP
:LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN
:GETTEXT :UNICODE :BASE-CHAR=CHARACTER :UNIX :MACOS)


;;; uname -a
Darwin triton.lan.informatimago.com 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh powerpc PowerBook6,8 Darwin
;;; (EXT:ARGV)
#("/opt/local/lib/clisp-2.49/base/lisp.run" "-B" "/opt/local/lib/clisp-2.49" "-M" "/opt/local/lib/clisp-2.49/base/lispinit.mem" "-N" "/opt/local/share/locale")
;;; /opt/local/bin/clisp --version
GNU CLISP 2.49 (2010-07-07) (built 3587020627) (memory 3587022785)
Software: GNU C 4.2.1 (Apple Inc. build 5566)
/usr/bin/gcc-4.2 -arch ppc -pipe -arch ppc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -falign-functions=4 -DUNIX_BINARY_DISTRIB -DENABLE_UNICODE -DDYNAMIC_MODULES -I. -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -lintl -Wl,-framework -Wl,CoreFoundation -lreadline -lncurses -liconv -L/opt/local/lib -lsigsegv -lc -R/opt/local/lib libgnu_cl.a
SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY
libsigsegv 2.9
libiconv 1.14
libreadline 6.2
Features:
(REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL
INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN GETTEXT UNICODE
BASE-CHAR=CHARACTER UNIX MACOS)
C Modules: (clisp i18n syscalls regexp)
Installation directory: /opt/local/lib/clisp-2.49/
User language: ENGLISH
Machine: POWER MACINTOSH (POWER MACINTOSH) triton.lan.informatimago.com [192.168.7.5]






On my MacOSX 10.5.8/ppc, there's gcc 4.0 and 4.2 provided by Apple.
I don't remember if they are installed with the system, or with Xcode,
or from a separate Xcode Command Line Tools package.

I have Xcode 3.1.2 developer tools for Mac OS X v10.5 installed;
you should be able to download it or some other 3.1 version from Apple:
http://meandmark.com/blog/2009/10/downloading-older-versions-of-xcode/



MacPorts provide several versions of gcc, including those two versions
from Apple, so you could do without Xcode:

apple-gcc40 @5494 (lang)
Apple's version of gcc 4.0

apple-gcc42 @5666.3_13 (lang)
Apple's version of gcc 4.2

gcc42 @4.2.4_9 (lang)
The GNU compiler collection



All three versions should work to compile clisp-2.49 on MacOSX
10.5.8/ppc.

--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk

Nemo

unread,
Sep 14, 2016, 7:01:55 PM9/14/16
to
Greetings:

Thank you for the infromation. (Please excuse my tardy reply as I am
travelling at present.)

On 10/09/2016 15:16, Pascal J. Bourguignon wrote (in part):
> On MacOSX 10.5.8/ppc, you can get clisp 2.49 from MacPorts.
> https://www.macports.org/install.php#installing
[...]
> MacPorts provide several versions of gcc, including those two versions
> from Apple, so you could do without Xcode:
>
> apple-gcc40 @5494 (lang)
> Apple's version of gcc 4.0
>
> apple-gcc42 @5666.3_13 (lang)
> Apple's version of gcc 4.2
>
> gcc42 @4.2.4_9 (lang)
> The GNU compiler collection
>
> All three versions should work to compile clisp-2.49 on MacOSX
> 10.5.8/ppc.

I have these (as well as 3.3 and 4.1.2) but clisp-2.49 does not
build on any. I will try again upon my return.

N.
0 new messages