bernhold@qtp.ufl.edu (David E. Bernholdt) (01/05/91)
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