Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #12703
| From | Geoff <geoff@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: MinGW--New to it |
| Date | 2011-12-20 10:47 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <ogl1f7h4e47c2klqo2o7p7pef8a2k8mnc7@4ax.com> (permalink) |
| References | <jcp0fp$e2n$1@dont-email.me> <a060f7lmkhusa0mqgs8vc56stnhp7gnk6o@4ax.com> <jcqbve$5us$1@dont-email.me> |
On Tue, 20 Dec 2011 08:09:16 -0800, "W. eWatson" <wolftracks@invalid.com> wrote: >On 12/19/2011 9:35 PM, Geoff wrote: >> On Mon, 19 Dec 2011 19:47:03 -0800, "W. eWatson" >> <wolftracks@invalid.com> wrote: >> >>> Maybe the procedure outlined below is the same for C++ to Fortran. >>> >>> Apparently, there's a package called MinGW that includes several >>> languages, C, C++, fortran, ... for Windows. I use Win7, 64-bit. I >>> downloaded mingw-get-inst-201111118.exe the other day for an install. At >>> one point it asked what compilers I wanted. I checked only fortran >>> (Gfortran, I believe). When it completed the install I could not find >>> any compiler, but did find some sort of "mingw.get..." exe file. Am I >>> supposed to execute it to get the fortran compiler? >>> >>> >> >> Did you read the Getting Started documentation on the mingw.org web >> site? >Completely missed it, or assumed that it would be a simple download and >install like many MS products. Found the download quickly, and started >there. I think the basis for MinGW looks like Linux, which I used long >ago with C and maybe Perl and others. > >I just copied Getting Started into MS Word to avoid printing all the >extra marginal stuff, and will print it shortly. >> >> You must set the PATH variable for the command line tools, the default >> installation for those tools is "\mingw\bin\" or "Program >It sounds like I should uninstall mingw and start again. I guess I was >expecting a simple install that's usually the case for most MS programs. > I don't know that an uninstall is necessary but you will probably want to install with the MSYS option to get the *nix terminal environment that you'll need to run make and the other tools. This will also put you in a home directory where you can begin your project. Running MSYS also makes fooling with PATH unnecessary. >Since I'm using Win 7, I suspect I should add \mingw\bin\ to the end of >the system PATH variable. PATH = C:\stuff\...\morestuff;C:\mingw\bin\ >> Files\mingw\bin". The installation dialog box should have presented >> you with that information. >Don't recall. It was in the GUI installer, just after the license dialog. One important caveat, DON'T install to a path with spaces in it. Take the default c:\mingw. >> >> There are two Fortran compilers in the package, g77.exe and >> gfortran.exe. >I want gfortran. I believe it has a Make facility, which is key to what >I'm doing. I'm working with another fellow who is using G90 to recode an >old fortran program. He's working in a Linux environment. > >Is there some sort of general users manual for it? I noticed on Getting >Started some GUI. Does that have a manual, and is it a separate install? > The only GUI program is the installer, all the other tools are command-line. You might be able to customize a third-party tool like UltraEdit to be your IDE for the tools. > >> >> c:\>gfortran --version >> GNU Fortran (GCC) 4.6.1 >So gfortran is GNU fortran? > >I tried joining the mailing list by providing my sbcglobal address. >Never got a confirmation. I then used my mail facility on my web host >site, and did get registered, and even logged into something. I have not >rcvd any mailings. Found a sort of forum where posts had been made, but >none looked current. > >Ran into gmane.comp.gnu.mingw.user wandering around the mingw web pages. >It appears it might be a mailing list disguised as a newsgroup. Still >haven't figured how to reach it. Found this though: > >http://en.wikipedia.org/wiki/Gmane >http://gmane.org/faq.php > >Maybe that will help. Yes, I am far from expert in MinGW, it's a tool I use occasionally, nothing more.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
MinGW--New to it "W. eWatson" <wolftracks@invalid.com> - 2011-12-19 19:47 -0800
Re: MinGW--New to it Geoff <geoff@invalid.invalid> - 2011-12-19 21:35 -0800
Re: MinGW--New to it "W. eWatson" <wolftracks@invalid.com> - 2011-12-20 08:09 -0800
Re: MinGW--New to it Geoff <geoff@invalid.invalid> - 2011-12-20 10:47 -0800
Re: MinGW--New to it gwowen <gwowen@gmail.com> - 2011-12-21 01:52 -0800
Re: MinGW--New to it "W. eWatson" <wolftracks@invalid.com> - 2011-12-22 13:31 -0800
Re: MinGW--New to it gwowen <gwowen@gmail.com> - 2011-12-24 01:21 -0800
Re: MinGW--New to it "W. eWatson" <wolftracks@invalid.com> - 2011-12-26 13:01 -0800
Re: MinGW--New to it "W. eWatson" <wolftracks@invalid.com> - 2011-12-26 13:18 -0800
Re: MinGW--New to it Geoff <geoff@invalid.invalid> - 2011-12-26 16:31 -0800
Re: MinGW--New to it "W. eWatson" <wolftracks@invalid.com> - 2011-12-27 07:47 -0800
csiph-web