Squeak 2.3 HP-UX port
bruce_oneel at yahoo.com
Mon Feb 1 15:51:37 UTC 1999
It's been a little while, but, I'm pretty sure HPUX does support
shared libs. From the Tcl configure file:
AC_CHECK_LIB(dld, shl_load, tcl_ok=yes, tcl_ok=no)
if test "$tcl_ok" = yes; then
Now, what does that all mean? Generating shared library code requires
+z on the cc line, you generate shared libs with the -b option to ld,
shared libraries are called blah.sl, you need to add -ldld to the ld
command line to get the shared library library, and you also need to
add -Wl,-E, probably to the cc command line, which, (guess), passes -E
to the linker. If you go get the Tcl 8.0.3 distribution you can then
find out what's in tclLoadShl.c, which does seem to be system
dependent. Just for reference solaris uses tclLoadDl.c.
On the system I do have access to uname -a responds
HP-UX sewanee B.10.10 A 9000/725
starts responding with:
shl_load(), shl_definesym(), shl_findsym(), shl_gethandle(),
shl_getsymbols(), shl_unload(), shl_get(), shl_gethandle_r(),
shl_get_r() - explicit load of shared libraries
shl_t shl_load(const char *path, int flags, long address);
If nothing else you can build the Tcl distribution and watch what
I hope this helps. I never became an expert on HP/UX :-(
Markus Kohler <markus_kohler at hp.com> wrote:
> Hi all,,
> I'm wondering whether someone has already ported
> Squeak to HP-UX.
> I just started, but after getting the Makefile correct
> I came across the problem that HP-UX doesn't support
> dlopen and those other shared library calls.
> Any shared library experts out there ?
> Markus Kohler mailto:markus_kohler at hp.com
Bruce O'Neel - beoneel at acm.org http://homepage.iprolink.ch/~bioneel
The corporate culture is concerned less with Occam's razor than his
aftershave lotion. -- R. L. Peskin <peskin at caip.rutgers.edu>
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the Squeak-dev