mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MIT-Scheme-devel] generating shared libraries for subsystems


From: Taylor R Campbell
Subject: Re: [MIT-Scheme-devel] generating shared libraries for subsystems
Date: Sun, 21 Jan 2007 06:51:20 +0000
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/7.7.90.+

After further examination of LIAR's C output, I generated a working
edwin.dylib pretty easily.  Following microcode/compinit.{c,h}, I
wrote a similar edwin.c that defined dload_initialize_file instead of
initialize_compiled_blocks, and used microcode/make-compinit to
generate edwin.h.  Then I compiled edwin/*.c for static linking as
with all the statically linked sources in the runtime and compiler,
and linked edwin/*.o as with LINK_MODULE edwin.dylib as a module.
Putting edwin.dylib in lib/shared/ made lib/edwin.com work.

Automating this process shouldn't be difficult, and with it we can
finally have `make install' and bands with shared libraries work
usefully.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]