| To: | "'pro64-support@xxxxxxxxxxx'" <pro64-support@xxxxxxxxxxx> |
|---|---|
| Subject: | C-Fortran programs interface |
| From: | "Kakulavarapu, Prasad" <prasad.kakulavarapu@xxxxxxxxx> |
| Date: | Thu, 24 Aug 2000 23:26:34 -0700 |
| Sender: | owner-pro64-support@xxxxxxxxxxx |
Hello,
I am trying to link a C pogram (with main), and a Fortran subroutine (called
from the main in C program);
The SGIf90 linker complains that the Fortran subroutine name is undefined;
the same routines work perfectly in the Win64 world, and Win32 world with
Compaq, Intel Fortran compilers.
Thanks,
Prasad
Please see an example:
C program:
extern GRAM();
main(int argc, char* argv[]))
{
GRAM();
}
Fortran program:
subroutine GRAM()
return
end
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: compiler dies due to signal 9, Ross A. Towle |
|---|---|
| Next by Date: | Re: C-Fortran programs interface, Ken Lesniak |
| Previous by Thread: | missing system library functions, Arvind Amin |
| Next by Thread: | Re: C-Fortran programs interface, Ross A. Towle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |