LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-18-2005, 04:20 AM   #1
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Rep: Reputation: 15
Question does linux fortran compiler in fedora 4 support VAX FORTRAN?


hello everybody
my question is, does fedora core 4's linux fortran compiler support the vax extension?

where can i find information on linux's fortran compiler?

thanks.
 
Old 08-18-2005, 09:24 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Assuming your question is really about GNU Fortran, yes, it seems to supports some of the VAX extensions:
http://gcc.gnu.org/onlinedocs/gcc-3....T-Fortran.html
Documentation is available at:
http://gcc.gnu.org/onlinedocs/gcc-3.4.1/g77/
 
Old 08-19-2005, 03:44 PM   #3
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Talking that link was very helpful

thank you much
 
Old 08-19-2005, 07:55 PM   #4
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Original Poster
Rep: Reputation: 15
how do i know if GNU's g77 is installed already on my fedora 4?
i'm really new to linux so thanks for the help
 
Old 08-20-2005, 10:23 AM   #5
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,
open a terminal and type
Code:
g77
if you receive command not found it is not installed.
if you receive g77:no input files it is installed.
regards
slackie1000
 
Old 08-21-2005, 02:25 AM   #6
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Original Poster
Rep: Reputation: 15
for the prerequisites of installing GCC
http://gcc.gnu.org/install/prerequisites.html
how would i know my version of fedora core 4 has them?

there must be a better command than just "ls" in unix
to see if they exist?

thanks again people
 
Old 08-21-2005, 02:31 AM   #7
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,
which kind of installation of FC4 you did? gcc is pretty standard in all distro AFAIK.
anyway, you are using an rpm based distro. if you don't have gcc installed, grab the gcc rpm in some fedora repo and install it with yum or by hand if you prefer.
regards
slackie1000
 
Old 08-21-2005, 02:54 AM   #8
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Yes, I thought gcc would be standard
but however typing g77 says the command is not present
I got this fedora 4 linux from that book "sams teach yourself red hat fedora 4 linux". it says "full version of fedora core 4" but yeah, I doubt its a full package considering I only paid $20 for the book w/ the cd.

ok, so I know yum is some kind of updating command
but is there a specific command for me to update to get GCC or does it just give me the full package of Fedora.

thanks
 
Old 08-21-2005, 03:04 AM   #9
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,
you paid 20 bucks for the book. fedora is free.
sorry but now we are getting into the specifics of FC4. Unknown land for me.
but, i think you can always try installing with the old rpm -i and see what happens. it will check the dependencies for you.
you just need to get a safe rpm and try installing it by hand.
hope it helps you..
regards
slackie1000
 
Old 08-21-2005, 03:12 AM   #10
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Talking linux is free and i paid 20 bones

yeah i know, but i was pretty desperate to learn linux quick, however that book was way too basic as evident by my presence here , it however did teach me to dual boot my computer which is nice.

this is the rpms site i know of
http://www.atrpms.net/dist/fc4/
which doesn't for some reason have gcc

what do you mean by safe rpm sites?

just off the top of your head, what sites do you know of that will teach linux?

thanks alot
 
Old 08-21-2005, 03:30 AM   #11
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
Re: linux is free and i paid 20 bones

hi there,
Quote:
Originally posted by terrence
just off the top of your head, what sites do you know of that will teach linux?
you are in one of the best available... LQ rocks!
check here.
disclaimer. what i write now is only mho.
rpms give the root password for someone that you never met! so, getting an rpm from somewhere that you never heard of can be pretty bad.
end of disclaimer.
another thing is: FC4 is using gcc4 by default. this is pretty new. i think FC is the first distro to do that. this can mess a bit if you get packages from different sources.
regards
slackie1000
 
Old 08-21-2005, 04:42 PM   #12
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Original Poster
Rep: Reputation: 15
so i think the command gcc works
because when i type it in
it says
gcc: no input files
however when i type in the command g77
its says
command not found

i thought g77 was a part of gcc?
 
Old 08-22-2005, 12:15 AM   #13
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
g77 is a separate package from gcc, but it does use some of the common elements. FC4 uses yum to automate package installation. What this means it that you give it a package to install and then it will locate and install all the required packages plus the one you really want. You can learn more about yum at the Fedora site. Here is the direct link to Managing Software with yum.

Bill
 
Old 08-30-2005, 04:56 AM   #14
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Original Poster
Rep: Reputation: 15
not sure about this "Hardware Models and Configurations"

http://gcc.gnu.org/onlinedocs/gcc-4.0.1/gcc

this is under the same question
so i have this code written in fortran tested on the VMS system
gcc from the website above seem to support VMS system
but how would i compile telling the g77 compiler that i want it to use VMS options?
i was not sure about what the hardware models and config options for VMS meant.

thanks again
 
Old 08-30-2005, 05:07 AM   #15
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Original Poster
Rep: Reputation: 15
maybe i asked the wrong question

i'm compiling with g77
but it was written in VAX/VMS
so now, i want to let the compiler know it is of type VAX/VMS
now how do i implement that option?

i.e.
this website saying use -fvxt option, http://gcc.gnu.org/onlinedocs/gcc-3....T-Fortran.html
isn't clear to my how to use it
 
  


Reply



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
error Linux Fortran compiler: libimf.so terrence Programming 6 06-15-2012 03:51 PM
any recommendations for a fortran compiler for linux? buddy_epson Programming 3 08-18-2006 02:00 AM
fortran compiler and guide? spacetrooper Programming 4 03-23-2005 06:48 PM
Fortran Compiler in SuSE? Krater47 Linux - Software 4 09-09-2004 12:10 AM
Fortran Compiler bob10a Linux - Software 14 07-19-2003 04:34 AM

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

All times are GMT -5. The time now is 02:16 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