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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-18-2005, 04:20 AM
|
#1
|
LQ Newbie
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26
Rep:
|
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.
|
|
|
08-19-2005, 03:44 PM
|
#3
|
LQ Newbie
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26
Original Poster
Rep:
|
that link was very helpful
thank you much
|
|
|
08-19-2005, 07:55 PM
|
#4
|
LQ Newbie
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26
Original Poster
Rep:
|
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
|
|
|
08-20-2005, 10:23 AM
|
#5
|
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037
Rep:
|
hi there,
open a terminal and type
if you receive command not found it is not installed.
if you receive g77:no input files it is installed.
regards
slackie1000
|
|
|
08-21-2005, 02:25 AM
|
#6
|
LQ Newbie
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26
Original Poster
Rep:
|
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
|
|
|
08-21-2005, 02:31 AM
|
#7
|
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037
Rep:
|
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
|
|
|
08-21-2005, 02:54 AM
|
#8
|
LQ Newbie
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26
Original Poster
Rep:
|
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
|
|
|
08-21-2005, 03:04 AM
|
#9
|
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037
Rep:
|
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
|
|
|
08-21-2005, 03:12 AM
|
#10
|
LQ Newbie
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26
Original Poster
Rep:
|
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
|
|
|
08-21-2005, 03:30 AM
|
#11
|
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037
Rep:
|
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
|
|
|
08-21-2005, 04:42 PM
|
#12
|
LQ Newbie
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26
Original Poster
Rep:
|
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?
|
|
|
08-22-2005, 12:15 AM
|
#13
|
Member
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560
Rep:
|
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
|
|
|
08-30-2005, 04:56 AM
|
#14
|
LQ Newbie
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26
Original Poster
Rep:
|
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
|
|
|
08-30-2005, 05:07 AM
|
#15
|
LQ Newbie
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|