SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Hi I'm Linux new user, I install slackware 13.37, recently I install gcc-gfortran-4.5.2-i486-2.txz but i have no idea how to run the program, I know is not like windows because I don't see any icon to run the program.
Can help me whit this problem please how to run from konsole or any other form.
Quiz: FORTRAN stands for FORmula TRANslation, which indicates that the language was created for natural scientists and Mathematicians, while COBOL was "for business".
BTW, are recent incarnations of Fortran supported by GCC, including the "object-oriented stuff"? A quick web search didn't give me a clear answer... Does anyone happen to know?
Regarding the original post: To my knowledge some integrated development environments (IDE) support running the Fortran compiler from GUI. I am not sure that I remember it correctly, but I think it was possible from Netbeans, and may now be possible from Eclipse (yes, originally both were developed as Java IDEs, but support other languages, as well), but I haven't used any of them for many years, so you'll have to check this out yourself.
I haven't done it, but you should be able to set up the KDE development environment to do fortran (well maybe not 4.x...). Any decent IDE should be able to handle gcc-fortran. http://en.wikipedia.org/wiki/Compari...t_environments
Don't know about "object-oriented stuff" - such newfangled nonsense is for you youngsters. My quick web search resulted in:
IIRC, object-oriented programming is a technique not a language. You can roll your own via C or just use C++ to make you life easier. Making the compiler aware of these tricks aids in efficiency and speed.
Don't know about "object-oriented stuff" - such newfangled nonsense is for you youngsters. [...]
Yeah.
Quote:
Originally Posted by kingbeowulf
IIRC, object-oriented programming is a technique not a language. You can roll your own via C or just use C++ to make you life easier. Making the compiler aware of these tricks aids in efficiency and speed.
Well, at least encapsulation should be supported by the language. This is a minimum requirement for oo programming, I think. If you can hide local variables, you can mimic other oo stuff, such as inheritance, if you need it and know how to deal with it. E. g., it takes no less than three years of professional experience, before a newbie is able to know how to use multiple inheritance and operator overloading in C++. And it would take me five years, probably. That explains the popularity of languages like Java, I guess...
Why this excurse? Because FORTRAN 77 did not support any concept of oo programming. Newer version claim, they did, but I don't know, if anyone really uses/needs it.
Fortran ... you will need more space than is able to post here in a reasonable time
the changes over the years dose make running old and just older lab code "fun"
one friend is an old hand with 77 and posts NEW software in 77
one other uses 90 ( at cern) , the 77 drives him batty .
me i end up in the middle of the two going at it back and forth
gcc changed names " gfortran"
on Mingw and CygWin it is still g77 and g90
some OLD red hat 4 systems might still be using g90 but most modern OS's are using " gfortran"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.