User forums > Help

Adding additional compiler

(1/1)

JoeH:
I have an old computer, running Windows XP, that I want to do some FORTRAN programming on.  I have installed CB17.12 and it works fine for C and C++.  The gfortran compiler is not available.  The only compiler .exe files that appear in the MinGW/bin directory are for C and C++.  I reinstalled CodeBlocks to be sure I selected the Fortran compiler for installation.  I had requested everything to be installed.  The options_gfortran.xml file does exist in the share/CodeBlocks/compilers directory.

Is there a way to add the gfortran compiler?

Thanks

Joe

PolyTrackk:
That sounds incredibly frustrating, especially since you already tried a full reinstall to get everything working. I ran into a similar snag with older MinGW builds on XP where the Fortran binaries were stripped out of the default "everything" bundle to save space. PolyTrack You'll likely need to download a standalone version of gfortran-4.4.0 (or similar legacy binaries compatible with XP) and manually point Code::Blocks to that folder under Settings > Compiler > Toolchain executables.

Miguel Gimenez:
Spam reported to moderator.

Navigation

[0] Message Index

Go to full version