Xref: utzoo alt.sys.sun:2442 comp.lang.fortran:4504 Path: utzoo!utgpu!cs.utexas.edu!usc!samsung!sol.ctr.columbia.edu!caen!uflorida!ufqtp!bernhold From: bernhold@qtp.ufl.edu (David E. Bernholdt) Newsgroups: alt.sys.sun,comp.lang.fortran Subject: Question on dynamically linked Fortran libraries on Suns Message-ID: <1226@orange19.qtp.ufl.edu> Date: 4 Jan 91 23:10:46 GMT Reply-To: bernhold@qtp.ufl.edu (David E. Bernholdt) Organization: University of Florida Quantum Theory Project Lines: 29 System: Sun 4/490, SunOS 4.1.1, Fortran 1.3.1+patches I am trying to create a dynamically linked library of some Fortran math routines. When I do the 'ld -assert pure-text ...' it complains about a reference to 'cg89_used' in several of the routines. The routines were compiled 'fff -c -O -pic -libmil -cg89'. Questions: 1) Why do only three of 70-odd routines have the cg89_used symbol? I'm used to Sun3 systems where just about anything that uses floating point math would have 'fpa_used' or '68881_used' (according to your compilation). 2) Why does ld complain -- I thought 'cg89_used' and its cousins were essentially placeholders. There are other unresolved externals in this library, so it can't be just the fact that its not resolved. 3) How should I be going about this? What can I do to safely construct a proper dynamic library while making use of the hardware floatingpoint? Thanks for any help. Since this is not likely to be of wide interest, please reply to me directly & I'll summarize if requested. -- David Bernholdt bernhold@qtp.ufl.edu Quantum Theory Project bernhold@ufpine.bitnet University of Florida Gainesville, FL 32611 904/392 6365