Author Topic: GCC 6.3 in CodeBlocks  (Read 575 times)

Offline kostasaleksis

  • Single posting newcomer
  • *
  • Posts: 2
GCC 6.3 in CodeBlocks
« on: March 30, 2017, 05:26:01 pm »
The OS on my PC is Windows 10 Pro x64.
The version of CodeBlocks is 16.01.
I want to use gcc 6.3 compiler for using submodules in Fortran coding in CodeBlocks so i do not now how tu use gcc 6.3 in CodeBlocks from this site: https://gcc.gnu.org/?
Can someone help me because i am new in CodeBlocks?
« Last Edit: March 31, 2017, 01:52:17 pm by kostasaleksis »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 5836
    • My Best Post
Re: CodeBlocks
« Reply #1 on: March 30, 2017, 05:48:47 pm »
Please learn what an operating system is.
Then, learn what operating system you are using.
Then, learn how to install software on your operating system.

After, you do that I think you might know enough to ask a smart on topic question on this website.
Please state your operating system name and version in the post.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline kostasaleksis

  • Single posting newcomer
  • *
  • Posts: 2
Re: GCC 6.3 in CodeBlocks
« Reply #2 on: March 30, 2017, 06:01:45 pm »
Excuse me. My mistake!
The OS on my PC is Windows 10 Pro x64.
The version of CodeBlocks is 16.01.
I want to use GCC 6.3 because i want to use submodules in gfortran so i need a help about using that compiler in CodeBlocks.
Thank you in advance.
« Last Edit: March 31, 2017, 01:53:03 pm by kostasaleksis »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 5836
    • My Best Post
Re: CodeBlocks
« Reply #3 on: March 30, 2017, 09:20:44 pm »
Since, you are on 64 bit windows 10.
You might try https://sourceforge.net/projects/mingw-w64/files/Multilib%20Toolchains%28Targetting%20Win32%20and%20Win64%29/

I have no idea if the installer has FORTRAN.
Edit2: I had installed mingw64 GCC 5.3.0 into i686-5.3.0-win32-sjlj-rt_v4-rev0 and it has gfortran exe in the bin folder.

Code: [Select]
    x86_64-posix-sjlj
    x86_64-posix-seh
    x86_64-win32-sjlj
    x86_64-win32-seh
    i686-posix-sjlj
    i686-posix-dwarf
    i686-win32-sjlj
    i686-win32-dwarf

posix/win32 is thread support.
dwarf/sjlj/seh is exception support.

Tim S.

« Last Edit: March 30, 2017, 10:02:06 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 4908
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: CodeBlocks
« Reply #4 on: March 31, 2017, 06:57:48 am »
@kostasaleksis, please change the title of your first post. "Codeblocks" is not a good title.
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.