Hansong Zhang (zhangh++at++cs.unc.edu)
Sun, 22 Jun 1997 10:10:33 -0400 (EDT)
Try to declare the fortran function as
extern "C" {
int simmain();
}
which prevents CC from generating signature for the function name and
making it differnt from the one in your fortran object file.
Besides (and if the above suggestion doesn't work), you can use the f2c
package to translate the fortran program to C. I used to use it for big
fortran math routines and it worked really well. f2c's available from
netlib.
hope this helps,
Hansong
-------------------------------------------------------------
Hansong Zhang \ zhangh++at++cs.unc.edu
Walkthrough Group \ http://www.cs.unc.edu/~zhangh
Department of Computer Science \ (919)962-1835 (O)
UNC-Chapel Hill \ (919)914-3973 (H)
-------------------------------------------------------------
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:29 PDT