Menu

#230 How can add the fortran compiler (newbie)?

None
pending
John E.
1
2020-11-03
2014-09-11
kualkis
No

I'm new in this forum.
I apologize this email is not due to a bug, but I've been absolutely unable to locate AT ALL any forum for newbie-doubts.

I need a fortran compiler for my daughter. I downloaded MinGW from its site, but it failed continuously saying

"There is not disk in unit. Insert a disk in unit \Device\Harddisk3\DR3. "
and then
"Program c:\mingw\bin..\libexec\gcc\mingw32\4.8.1\f951.exe
R6034
An application has made an attempt to load the C runtime library incorrectly."
and then
"f951.exe - application error : application could not start correctly (0xc0000142)."

In the end, after many tests I got tired and I unistalled MinGW and I discovered TDM-GCC MINGW COMPILER. I downloaded tdm-gcc-4.8.1-3.exe (29.3 MB · GCC 4.8.1) and installed it. Then and I could compile successfully a helloworld C program. Congratulations!

But my question:

To compile a Helloworld in FORTRAN I get the message CreateProcess: no such file or directory (I've tried calling to gcc and also gfortran).

1) I guess that no Gfortran compiler has been installed, but only C languaje: Has I to download other installer for Fortran (tdm-gcc-webdl.exe)? Can I add a Fortran compiler from my current tdm-gcc-4.8.1-3.exe installer? How?

2) Please, where can I find a NEWBIE forum for GCC or this excellent TDM-GCC MINGW COMPILER distribution? In example, I don't know yet what is the extension for fortarn sources ( "for"? ) :-( .

Thanks

Discussion

  • kualkis

    kualkis - 2014-09-12

    Any answer, please?
    Should I try another forum? :-(

     
    • kualkis

      kualkis - 2014-09-16

      In the end I uninstalled TDM and I tried "TDM installer on demand", trying to get fortran, but installation failed because installer couldn't find a package in Sourceforge.
      So finally I sadly unistalled TDM and I downloaded unofficial MinGW v.5 as referred in wiki pages, and it works fine now.
      I could also fix \Device\Harddisk3\DR3 error by changing some device letters in W7 Disk Administration tool; there were some drives (I: G:) which I really didn't have, so I changed them and compiler didn't claim anymore.

       
  • John E.

    John E. - 2014-12-19

    TDM-GCC includes gfortran, and I'm unable to reproduce any "CreateProcess" error. Please feel free to follow up with any further instructions to reproduce the problem; otherwise I will close this ticket.

     
  • John E.

    John E. - 2014-12-19
    • status: open --> pending
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB