PDA

View Full Version : link fortran and c object



phuang
05-31-2001, 10:13 AM
I have a c main program calling a fortran subroutine. I type fl32 pao.for and cl pao.c to compile and create the objects. But do not know what command to type to link the fortran and c object. Your help is deeply appreciated.

05-31-2001, 02:09 PM
If you can do this should you give both object files to the linker. See the documentation for your tools.