User forums > Help

[solved]msys32 and codeblocks

(1/2) > >>

visir:
Hello. Very new to codeblocks. Want to make codeblocks work with msys32 mingw compiler.

When I first started codeblocks, there was a window where I could select my compiler. How to open that window again?

stahta01:
Settings -> Compiler

visir:
Hm, no, that window could autodetect compilers.

Maybe I'll manage to get it to work, give me a minute. I just need to set paths correctly.

visir:
This is not very codeblocks related, but maybe somebody here knows.

I have 4 different include folders right now:
C:\msys64\mingw32\include
C:\msys64\mingw32\i686-w64-mingw32\include
C:\msys64\mingw64\include
C:\msys64\mingw64\x86_64-w64-mingw32\include
What's the difference between them?

stahta01:
For 32 bit MSys2 GCC Compiler I use these settings

Compiler Installation Directory: C:\Apps32\MSys2\mingw32
C Compiler: i686-w64-mingw32-gcc.exe
C++ Compiler: i686-w64-mingw32-g++.exe
Linker for Dynamic Libs: i686-w64-mingw32-g++.exe
Linker for static Libs: ar.exe    (I am NOT sure that this is correct I have yet to make a static lib)

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version