LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   where is fortran.h? (https://www.linuxquestions.org/questions/programming-9/where-is-fortran-h-436365/)

songqsh 04-18-2006 08:51 AM

where is fortran.h?
 
I use Debian Linux 2.4.27-2-386.
Fortran77 compiler is installed by system default.
I want to know the path fortran header file (fortran.h) located.
Thanks.

MichaelZ 04-18-2006 08:59 AM

Hello,

Look under /usr/include and/or /usr/local/include.

Best wishes,
Michael

addy86 04-18-2006 02:16 PM

Hint: try
whereis fortran.h
or
locate fortran.h

songqsh 04-18-2006 07:48 PM

hi, MichelZ,
I could not find fortran.h in either folder.

songqsh 04-18-2006 07:50 PM

hi, addy86,
Neither command works.
Below is the screen when I try your commands.
-----------------------
debian:/# locate fortran.h
debian:/# whereis fortran.h
fortran:
-------------------------
But I can run simple fortran file or run: man g77.

addy86 04-19-2006 01:18 AM

What's the name of the software package that needs this file?

songqsh 04-19-2006 09:15 AM

addy86,
I want to try to call functions written in Fortran Language.
That's why I need to include "fortran.h" header file.
Thanks.

addy86 04-19-2006 10:29 AM

Download Debian package cfortran and use cfortran.h

songqsh 04-19-2006 05:42 PM

thanks, addy86.


All times are GMT -5. The time now is 10:15 PM.