[19072] in s-news-athena

home help back first fref pref prev next nref lref last post

[S] dll's, g77, sqpe.dll and tearing out my hair

daemon@ATHENA.MIT.EDU (Steve Buyske)
Tue Aug 31 17:25:35 1999

Mime-Version: 1.0
Message-Id: <v04210100b3f1eb75831a@[192.168.1.254]>
Date: Tue, 31 Aug 1999 17:20:50 -0400
To: s-news@wubios.wustl.edu
From: Steve Buyske <buyske@stat.rutgers.edu>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"


I've been trying for a day to compile a dll for S-Plus 2000 on 
Windows 98/NT from Fortran code (Jim Hughes's censre2 function, 
http://www.biostat.washington.edu/biostat/faculty/hughes/censre.tarfil 
e, but I'd like to know how to do this in general) that calls the 
DBLEPR and INTPR functions. The Programmer's Guide suggests that I 
might be able to link with
sqpe.lib to do so. But how?

Based on Prof. Ripley's advice to others, I've tried
	g77 -c -o censre2.o censre2.f
	dllwrap --export-all-symbols -o censre2.dll censre2.o -L. -lsqpe
without success. The first line is fine, but the second fails, because it
can't find -lsqpe. I should mention that I've moved copies of 
sqpe.dll and sqpe.lib to the same directory as the code in question.

I'm not much of a Windows program (and censre2 compiles in a snap on 
Unix), and so I'm not sure if I'm making a stupid error or attempting 
something impossible.

Steve Buyske
-----
Steve Buyske (rhymes with "nice key")       Statistics Dept
phone: 732.445.2690 fax: 732.445.3428       Rutgers University
buyske@stat.rutgers.edu                     110 Frelinghuysen Rd.
http://www.stat.rutgers.edu                 Piscataway, NJ 08854-8019
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

home help back first fref pref prev next nref lref last post