Building on Solaris 8 and other older OSes
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
On 8/8/10 4:02 PM, Raymond Toy wrote:
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'm mistaken. This doesn't work. After doing the above, you need to do load-world, which means you need all of the fasls used to create the core. Bummer. We don't normally ship the fasls, which would add another 15 MB or so (compressed). Ray
participants (1)
-
Raymond Toy