Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: kostasaleksis on March 30, 2017, 05:26:01 pm

Title: GCC 6.3 in CodeBlocks
Post by: kostasaleksis 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?
Title: Re: CodeBlocks
Post by: stahta01 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.
Title: Re: GCC 6.3 in CodeBlocks
Post by: kostasaleksis 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.
Title: Re: CodeBlocks
Post by: stahta01 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/ (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
    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.

Title: Re: CodeBlocks
Post by: ollydbg on March 31, 2017, 06:57:48 am
@kostasaleksis, please change the title of your first post. "Codeblocks" is not a good title.