Author Topic: C::B 10.05 and Fortran - some problem  (Read 4781 times)

Offline FCM

  • Multiple posting newcomer
  • *
  • Posts: 10
C::B 10.05 and Fortran - some problem
« on: June 20, 2010, 04:09:28 pm »
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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: C::B 10.05 and Fortran - some problem
« Reply #1 on: June 21, 2010, 08:12:11 am »
(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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: C::B 10.05 and Fortran - some problem
« Reply #2 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.

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline FCM

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: C::B 10.05 and Fortran - some problem
« Reply #3 on: June 21, 2010, 11:08:32 am »
1.) I am not aware that there is a C::B IDE for Fortran.
http://darmar.vgtu.lt/
What are you talking about? Please give more details like what exactly are you using (OS, platform, version)
WinXP32/IntelC2D

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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: C::B 10.05 and Fortran - some problem
« Reply #4 on: June 21, 2010, 11:30:42 am »
1.) I am not aware that there is a C::B IDE for Fortran.
http://darmar.vgtu.lt/
What are you talking about? Please give more details like what exactly are you using (OS, platform, version)
WinXP32/IntelC2D

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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: C::B 10.05 and Fortran - some problem
« Reply #5 on: June 21, 2010, 05:25:41 pm »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline FCM

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: C::B 10.05 and Fortran - some problem
« Reply #6 on: June 21, 2010, 07:10:29 pm »
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.