LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2008, 10:27 PM   #1
Pengye
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Rep: Reputation: 0
About gcc and Xend


Hi,

I'm currently trying to compile lapack, which requires the g77 fortran compiler. I think it is already supported by gcc, but the terminal replies g77 not found. Is it I should get a seperate version of g77?

Another question is about Xend. What's the use of this process? I see it is loaded at the end of the system start.

Thanks a lot.

Henry
 
Old 06-06-2008, 01:31 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Check if the gnu fortran compiler has a -g77 option.

Code:
1.3 GNU Fortran and G77
=======================

The GNU Fortran compiler is the successor to `g77', the Fortran 77
front end included in GCC prior to version 4.  It is an entirely new
program that has been designed to provide Fortran 95 support and
extensibility for future Fortran language standards, as well as
providing backwards compatibility for Fortran 77 and nearly all of the
GNU language extensions supported by `g77'.
...
1.5 Standards
=============

The GNU Fortran compiler implements ISO/IEC 1539:1997 (Fortran 95).  As
such, it can also compile essentially all standard-compliant Fortran 90
and Fortran 77 programs.   It also supports the ISO/IEC TR-15581
enhancements to allocatable arrays, and the OpenMP Application Program
Interface v2.5 (http://www.openmp.org/drupal/mp-documents/spec25.pdf)
specification.

...

`-std=STD'
     Specify the standard to which the program is expected to conform,
     which may be one of `f95', `f2003', `gnu', or `legacy'.  The
     default value for STD is `gnu', which specifies a superset of the
     Fortran 95 standard that includes all of the extensions supported
     by GNU Fortran, although warnings will be given for obsolete
     extensions not recommended for use in new code.  The `legacy' value
     is equivalent but without the warnings for obsolete extensions,
     and may be useful for old non-standard programs.  The `f95' and
     `f2003' values specify strict conformance to the Fortran 95 and
     Fortran 2003 standards, respectively; errors are given for all
     extensions beyond the relevant language standard, and warnings are
     given for the Fortran 77 features that are permitted but
     obsolescent in later standards.
Another user posting on this site keeps posting with problems installing an older gnu fortran verion. I don't know if that is even necessary. The documentation for gfortran seems to indicate that it isn't, but sometimes the devil is in the details.

PS: I still remember buying keypunch cards in the college bookstore. So it's been I while since I programmed in Fortran or used a fortran program like pcap.
 
Old 06-06-2008, 02:06 AM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
What distro are you using?

Fedora uses compat-gcc-34-g77
 
Old 06-07-2008, 01:27 AM   #4
Pengye
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Original Poster
Rep: Reputation: 0
I found the gfortran is available, but g77 is not supported
 
Old 06-07-2008, 02:32 AM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
What distro are you using?
 
  


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
have gcc compilation error during gcc installtion in linuxfromscratch vbshanmugaprakash Linux - General 3 12-13-2006 06:52 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 12:38 PM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 11:23 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 01:07 AM


All times are GMT -5. The time now is 03:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration