Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-12-2014, 12:20 PM   #1
LQ Newbie
Registered: Dec 2014
Posts: 3

Rep: Reputation: Disabled
Smile compiling via Makefile g77 command not found ubuntu

I am newbie to ubuntu. I have a source code of a project made on fortran. When I am running the make command following is the problem.
g77 -O -C -ffixed-line-length-none -c -o rout.o rout.f
make: g77: Command not found
make: *** [rout.o] Error 127

Please try to help. Thank you very much
Old 12-12-2014, 01:56 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,903

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
G77 is no longer supported. You can use gfortran to compile your program.

Here is a thread from the Ubuntu forums which was posted 2 months ago. It may help you to get your program compiled.
1 members found this post helpful.
Old 12-12-2014, 07:16 PM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,257

Rep: Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529
g77 is in the ancient gcc33 / gcc34 compiler

normally called something like " gcc33-compat "

77 IS NOT!!!!! in the current gcc4.8 or 4.9
that version is FORTRAN is f90 and up

PS and if you are wondering that "77" stands for the YEAR 1977 ( great year for movies )

that years FORTRAN standard

Last edited by John VV; 12-12-2014 at 07:20 PM.
Old 12-13-2014, 03:53 AM   #4
LQ Newbie
Registered: Dec 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
thanks bigrigdriver. That was really helpful.



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
Problem compiling driver from makefile on Ubuntu 10.04 LTS x86 Facepalm41 Linux - Newbie 2 01-29-2012 10:51 PM
Compiling multiple .c file using single command in makefile vipulc Linux - General 2 03-19-2006 12:49 AM
Compiling with g77 thank you very much...but I solved compile with g77 gambato79 Fedora 9 07-19-2005 12:35 PM
makefile gcc command cannot be found Mogul83 Programming 7 05-31-2005 04:11 AM
g77 compiling problem appopson Programming 1 05-17-2005 09:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 AM.

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