LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-18-2006, 08:51 AM   #1
songqsh
LQ Newbie
 
Registered: Feb 2006
Posts: 21

Rep: Reputation: 15
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.
 
Old 04-18-2006, 08:59 AM   #2
MichaelZ
Member
 
Registered: Mar 2006
Location: Austria
Distribution: Ubuntu Breezy 5.10
Posts: 32

Rep: Reputation: 15
Hello,

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

Best wishes,
Michael
 
Old 04-18-2006, 02:16 PM   #3
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
Hint: try
whereis fortran.h
or
locate fortran.h
 
Old 04-18-2006, 07:48 PM   #4
songqsh
LQ Newbie
 
Registered: Feb 2006
Posts: 21

Original Poster
Rep: Reputation: 15
hi, MichelZ,
I could not find fortran.h in either folder.
 
Old 04-18-2006, 07:50 PM   #5
songqsh
LQ Newbie
 
Registered: Feb 2006
Posts: 21

Original Poster
Rep: Reputation: 15
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.
 
Old 04-19-2006, 01:18 AM   #6
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
What's the name of the software package that needs this file?
 
Old 04-19-2006, 09:15 AM   #7
songqsh
LQ Newbie
 
Registered: Feb 2006
Posts: 21

Original Poster
Rep: Reputation: 15
addy86,
I want to try to call functions written in Fortran Language.
That's why I need to include "fortran.h" header file.
Thanks.
 
Old 04-19-2006, 10:29 AM   #8
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
Download Debian package cfortran and use cfortran.h
 
Old 04-19-2006, 05:42 PM   #9
songqsh
LQ Newbie
 
Registered: Feb 2006
Posts: 21

Original Poster
Rep: Reputation: 15
thanks, addy86.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
g77 in gcc 4.1.0 not found only gfortran fortran 95 compiler! I need fortran 77. TheBrick Linux - Software 3 07-04-2007 06:39 AM
Gnu Fortran versus Intel Fortran tomatoefish Linux - Software 3 02-20-2006 01:31 PM
does linux fortran compiler in fedora 4 support VAX FORTRAN? terrence Programming 17 08-31-2005 08:59 AM
Fortran missing pksaji Mandriva 5 03-23-2005 06:53 PM
Fortran merlin371 Programming 4 01-05-2004 01:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration