Hello, I'm new here.
Right off the bat, this is NOT an an error of any sorts with Code::Blocks, it has more to do with my own incompetence. I won't mince words. Even though I'm pretty good at coding, when it comes to setting up compilers to use with an IDE, I tend to be an absolute airhead. I have good experience with 64-bit programming, just not so while using either Code:Blocks or MinGW-64. If the compiler isn't already pre-configured in the IDE, I'm pretty much screwed. I'm wanting to graduate from the included 32-bit MinGW and I am trying to setup MinGW-64 v4.9.0.2 to use with Code::Blocks on 64-bit Windows 8.1. I want to create two separate compiler setting profiles:
1.) "MinGW-64 (GNU GCC) x86 Compiler" for 32-bit programs 2.) "MinGW-64 (GNU GCC) x64 Compiler" for 64-bit programs
I know basically how to create each setting profile, but I don't know the correct info to include in each profile - most specifically, those under the "Search Directories" tab and the "Toolchain Executables" tab.
For the x86 profile:
1. which folder(s) do I list for the "Compiler" sub-tab under "Search directories"?
2. which folder(s) do I list for the "Linker" sub-tab under "Search directories"?
3. which folder(s) do I list for the "Compiler" sub-tab under "Search directories"?
4. which executables do I list for the "Program Files" sub-tab under "Toolchain executables"?
I also need these same questions answered for the x64 profile, because I know that often a person must utilize different headers and library files for 64-bit compilation as those for 32-bit programs. The folder/directory structure and naming scheme for MinGW-64 is very confusing and makes no logical sense to me. I've noticed that with each progressive version release of MinGW-64, the folder structure keeps changing, so looking at older examples doesn't help me at all. I've googled many examples for setting up this compiler with Code::Blocks and have tried using the documentation from the MinGW site. However, I personally find their documentation to be vague and of poor quality and writing style. So, sadly I'm left more confused than when I started. I've raise this same issue on other boards. Each time someone tells me that I need to include these folders or that executable another person will then come along to contradict them, stating that I need these folders or that executable instead, and I don't know who is correct.
Hopefully, Code::Blocks will include pre-configured settings for MinGW-64 in its next release. But until then, can someone PLEASE explain to me how to properly configure my compiler setting profiles for both 32 and 64 bit console/Windows GUI programming in standard C++. I'm not sure if it makes any difference as far as the MinGW-64 folder structure is concerned, but I will be using the Windows API for GUI programming instead of wxWidgets.
Remember, when it comes to compilers I'm pretty much an airhead, so feel free to explain it to me like a child, and pictures are more than welcome...
Thanks in advance!!!