Poly/ML 4.2.0 is very old now and I really wouldn't be surprised if something like this was broken. Try with version 5.4 and see if that works. I did remove support for older SparcStations at one point so it may be that you will have to use 5.3 or 5.2. You can find them all on the SourceForge site.
Regards, David
On 26/01/2011 12:30, mmoel@t-online.de wrote:
Hi,
I'm running PolyML 4.2.0 on some recommissioned Sun SPARCstation 5 and 20 under Solaris 2.6. I've got code - onced written on a Linux system - which depends on the CInterface. C-compiler is gcc 3.4.6, using the Sun 'as' and 'ld'. Creating a shared object file normally looks something like:
gcc -fPIC -c file.c -o file.o ld -G -z text -o file.so file.o
Calling a function of this shared object file according to the CInterface manual simply takes the cpu to the max. . I greatly appreciate your help.
Regards, Michael
polyml mailing list polyml@inf.ed.ac.uk http://lists.inf.ed.ac.uk/mailman/listinfo/polyml