News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

C::B 10.05 and Fortran - some problem

Started by FCM, June 20, 2010, 04:09:28 PM

Previous topic - Next topic

FCM

C::B 10.05 binary for Windows
Problem with fortran (mingw tdm 4.5 gfortran):
1) nо fortran item in compiler's list
2) no fortran detected

(While everything is OK with C::B IDE for Fortran)

What I have to do to solve the problem?

MortenMacFly

Quote from: FCM on June 20, 2010, 04:09:28 PM
(While everything is OK with C::B IDE for Fortran)

What I have to do to solve the problem?
1.) I am not aware that there is a C::B IDE for Fortran.
2.) There is also no auto-detect for Fortran.

What are you talking about? Please give more details like what exactly are you using (OS, platform, version) and how did you configure Fortran?
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]

gd_on

Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

FCM

Quote from: MortenMacFly on June 21, 2010, 08:12:11 AM
1.) I am not aware that there is a C::B IDE for Fortran.
http://darmar.vgtu.lt/
Quote from: MortenMacFly on June 21, 2010, 08:12:11 AM
What are you talking about? Please give more details like what exactly are you using (OS, platform, version)
WinXP32/IntelC2D

Quote from: gd_on on June 21, 2010, 09:44:44 AM
May be this page can help you :
http://wiki.codeblocks.org/index.php?title=Installing_Fortran_Compiler
Simply replace reference to g77 by gfortran.

Thanks, following this ref I've done something.

ollydbg

Quote from: FCM on June 21, 2010, 11:08:32 AM
Quote from: MortenMacFly on June 21, 2010, 08:12:11 AM
1.) I am not aware that there is a C::B IDE for Fortran.
http://darmar.vgtu.lt/
Quote from: MortenMacFly on June 21, 2010, 08:12:11 AM
What are you talking about? Please give more details like what exactly are you using (OS, platform, version)
WinXP32/IntelC2D

Quote from: gd_on on June 21, 2010, 09:44:44 AM
May be this page can help you :
http://wiki.codeblocks.org/index.php?title=Installing_Fortran_Compiler
Simply replace reference to g77 by gfortran.

Thanks, following this ref I've done something.

Great!
I guess the code parser is different from the official CB(which is C/C++), instead, it's Fortran code parser .
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

MortenMacFly

Quote from: FCM on June 21, 2010, 11:08:32 AM
Quote from: MortenMacFly on June 21, 2010, 08:12:11 AM
1.) I am not aware that there is a C::B IDE for Fortran.
http://darmar.vgtu.lt/
So please ask the guy who did this. Branches of C::B are not supported in our forums. As we don't develop them actively we can hardly give any hints/help obviously.
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]

FCM

C::B is a cool project  :!:, but it seems to become much "cooler" with default fortran full support - mixing C++ and modern Fortran is sufficiently general thing in computational technologies.