![]() ![]() ![]() MSYS2 comes with the pacman package manager, the same one Arch Linux uses. You could use the older MinGW+MSYS tools, but I recommend using MSYS2, which is all I will covere here. To get this on Windows we want a minimal system (MSYS) with minimalist GNU for Windows (MinGW) setup. MSYS2, which provides the MinGW gcc/g++ compiler.įor a compiler we want to use g++, part of the GNU compiler collection (gcc).I highly recommend setting up the MSYS2 tools and updating your PATH before loading Eclipse. It is important to note that if you install all the MSYS2 development tools first and add the directories to your PATH before running Eclipse and creating a workspace, then Eclipse will be able to find the compiler and tools without having to explicitly set and include directories and will generally work better. This guide focuses on the 64 bit version only. This will outline the process for getting a simple C++ toolchain ready in Windows using Eclipse as an IDE. In Windows, you can simply install Visual Studio and use the Microsoft C++ compiler, but you may want to use the free GNU compiler (g++) instead. Trying to get an open source toolchain configured in Windows for C++ can sometimes be a headache. I was barely able to hack it together myself and there are still a few details I am not 100% clear on.įor more details about installing MSYS2 check out Install gcc compiler on Windows with MSYS2 for C/C++. DISCLAIMER: Don't hold me accountable for any bad advice or incorrect information provided here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |