News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

GCC 6.3 in CodeBlocks

Started by kostasaleksis, March 30, 2017, 05:26:01 PM

Previous topic - Next topic

kostasaleksis

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?

stahta01

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

kostasaleksis

#2
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.

stahta01

#3
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.


    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.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ollydbg

@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.