24/7 Pet Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. MinGW is a complete GCC toolchain (including half a dozen frontends, such as C, C++, Ada, Go, and whatnot) for the Windows platform which compiles for and links to the Windows OS component C Runtime Library in msvcrt.dll. Rather it tries to be minimal (hence the name). This means, unlike Cygwin, MinGW does not attempt to offer a complete POSIX ...

  3. Installing the latest version of mingw-w64 on Windows

    stackoverflow.com/questions/61497394

    First install MSys2, then perform a full update by first updating the package database and updating pacman. pacman -SySu. After the update is done it will ask you to close the terminal without exiting to shell. Do so, then perform a full update by running. pacman -Su. after which you can install the mingw-w64 packages.

  4. To change the path on Windows XP, follow these instructions, and then add the directory where you install MinGW plus bin. Example: if you install MinGW in C:\ then you have to add C:\mingw\bin to your path. Just for completeness here are the steps shown on the link: From the desktop, right-click My Computer and click Properties. In the System ...

  5. How to compile C program on command line using MinGW?

    stackoverflow.com/questions/10661663

    Right Click on "My Computer" select Properties, Goto Advanced System Settings -> Advanced -> Select "Environment Variables.." . Find "Path" select it and choose edit option -> Click on New and add "C:\MinGW\bin" (or the location of gcc.exe, if you have installed at some other location) -> Save and restart command prompt.

  6. MinGW-w64 only provides their source code, but no binaries to "just use" the compiler. MinGW-builds is a somewhat separate project to provide binaries in the most useful configurations. To get a specialized build of MinGW-w64, manual compiling is still possible. Using the MinGW-builds self-installer is the easiest way, if nothing unusual is needed.

  7. How can I make CMake use Mingw-w64 gcc/g++? [duplicate]

    stackoverflow.com/questions/51509173

    39. The simplest way to generate makefiles for MinGW (and MinGW-w64) is to use the appropriate CMake generator. Just call cmake with. -G "MinGW Makefiles". no need to set DCMAKE_CXX_COMPILER and DCMAKE_C_COMPILER by hand. For this to work, CMake must find your compilers. So this path must be added to the windows PATH variable, as CristiFati ...

  8. Setting up GLFW with MinGW - Stack Overflow

    stackoverflow.com/questions/12886609

    If you are using MinGW64 with MSYS2, install glfw library in your compiler. Open MSYS2 MINGW64 console and put: pacman -S mingw-w64-x86_64-glfw. then compile your project using the following flags: -lglfw3 -lkernel32 -lopengl32 -lglu32. edited Jun 14, 2023 at 21:35.

  9. c++ - Sockets in MinGW - Stack Overflow

    stackoverflow.com/questions/1517762

    BSD sys/socket.h is a POSIX header and the win32 API doesn't support it. MinGW headers are just a reimplementation of native win32 headers and don't offer additional POSIX compatibility. If you are looking for sys/socket.h support, try either GNU gnulib's sys/socket.h replacement or go with Cygwin, which provides a POSIX compatibility wrapper ...

  10. c++ - How to add MinGW to PATH? - Stack Overflow

    stackoverflow.com/questions/71731080

    If reinstalling MinGW doesn't work, add MinGW to PATH manually by this: Find your computer's property, and then go to Advanced. Click Alt+N. Find PATH in the box below. Add the path of your MinGW compiler to it. Note: Add the BIN folder. If adding the BIN folder doesn't work, add the BIN folder in the folder under C:\msys64\mingw64 that has a ...

  11. In short, for this version of mingw, the threads-posix release will use the posix API and allow the use of std::thread, and the threads-win32 will use the win32 API, and disable the std::thread part of the standard. Ok, if I will select win32 threads then std::thread will be unavailable but win32 threads will still be used.