Building on Solaris 8 and other older OSes

Raymond Toy toy.raymond at gmail.com
Sun Aug 8 22:02:36 CEST 2010


 A short note on how to use the current Solaris 10 binaries to make an
executable for older versions like Solaris 8.  This idea can also
probably be extended to older versions of OSes like, perhaps, FreeBSD.

Since we distribute lisp.a which is an archive library of all of the C
objects that are used to create the C runtime (almost), we have an easy
way to rebuild on older OSes.  Just extract the contents of lisp.a.  Get
the source code for exec-init.c (or create by hand since it's only 2
lines long for declaring and initializing two variables).  Then just
compile exec-init.c and link it with all of the other object files and
the right libraries.  This should give a working lisp executable.  I did
this on Solaris 8, and everything seems to work.

I think this would also work for FreeBSD.  I guess the only constraint
is that the functions and macros that might have been used still exist
in some compatible form in the older version.  That is pretty true for
Solaris 8 since we don't really do anything special for the different
versions of the OS.  I'm not so sure about this for FreeBSD.

Ray




More information about the cmucl-imp mailing list