News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

codeblocks with gfortran

Started by ice109, April 09, 2008, 03:24:37 AM

Previous topic - Next topic

ice109

Can someone help me with getting codeblocks to work with gfortran? I followed the wiki and when I try to create a new project it still starts me off with a c++ file. nor can i get it to compile

MortenMacFly

Quote from: ice109 on April 09, 2008, 03:24:37 AM
when I try to create a new project it still starts me off with a c++ file.
There is simply no Fortran wizard. The project you are creating is a C/C++ project thus no fortran files. ;-)

But you can do it: Simply create an *empty* project and then create a new *.f{77/90} file and add it to the project.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]