[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fotran/C linkage on 64-bit machines
From: |
F Nagle |
Subject: |
Fotran/C linkage on 64-bit machines |
Date: |
Tue, 26 Aug 2008 11:26:06 -0500 |
Please forward this note to an appropriate person.
In using the g77 Fortran compiler on a 32-bit computer I have no trouble when
invoking a routine written in C from a Fortran program. Fortran typically
passes the address (i.e. pointer) of its arguments, and my C routine accepts
the arguments as such., But on a 64-bit platform the result is wrong, usually
zero. I am running under Red Hat Linux.
Is there a simple fix to this problem?
F W NAGLE
7816 Courtyard Drive
Madison WI 53719
Space Science & Engineering Center
1225 W Dayton Street
Madison WI 53706
office e-mail: address@hidden
- Fotran/C linkage on 64-bit machines,
F Nagle <=