Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!gatech!howland.reston.ans.net!EU.net!Germany.EU.net!Munich.Germany.EU.net!ecrc!news
From: micha@ecrc.de (Micha Meier)
Subject: Re: ProTcl on HPUX and Sicstus2.1#9
Message-ID: <CyBqAF.BII@ecrc.de>
Sender: news@ecrc.de
Reply-To: micha@ecrc.de
Organization: European Computer-Industry Research Centre
References: <1994Oct26.124040.5053@let.rug.nl>
Date: Thu, 27 Oct 1994 08:59:03 GMT
Lines: 33

In article 5053@let.rug.nl,  vannoord@let.rug.nl (Gertjan van Noord) writes:
>
>I have been trying to get ProTcl 1.3 to work with Sicstus 2.1 
>patch level 9, on a HP machine (HPUX 9.0, series 700).
>
>I was succesful in getting the following combinations to work:
>- Linux + Sicstus2.1 patchlevels 8 and 9, by linking the ProTcl
>  files statically
>- HPUX + Sicstus2.1 patchlevel 8, by linking both the ProTcl
>  and library(charsio.o) statically.
>
>Using dynamic loading I get a couple of the following warnings:
>
>ld: (Warning) Inter-quadrant branch in /usr/lib/X11R5.supplement/libtcl.a(tclExpr.o)
>

This was the reason why I couldn't get it right with dynamic loading on eclipse.
The reason is that tcl makes a table of pointers to math functions and the
dynamic loader somehow manages to get the addresses right, but destroys
their arguments. I'm surprized you get more with dynamic than with
static loading, is there anything particular in the patch #9 ?

--Micha



---
Micha Meier			------------------------------------------------
ECRC, Arabellastr. 17		The opinions expressed above are private
D-81925 Munich 81		and may not reflect those of my employer.
micha@ecrc.de, Tel. +49-89-92699-108, Fax  +49-89-92699-170


