Menu

FAQ

Anonymous

Frequently Asked Questions

Installation:

  • Q: What file should I download? / What do the names mean? Answer
  • Q: How do I install the binary package in my environment? Answer

Compilation:

  • Q: How do I compile the runtime? Answer
  • Q: How do I compile Unicode Applications? Answer
  • Q: How do I compile multilib toolchain? Answer
  • Q: How can I check for mingw-w64 headers? Answer
  • Q: Why get I build failures in gcc's libstdc++ build? Answer
  • Q: How can I generate an import library for a DLL? Answer
  • Q: How do I use LTO (Link Time Optimization) in GCC? Answer
  • Q: How do I make use of PPL and CLooG in GCC? Answer
  • Q: Why doesn't printf and scanf family work as defined in C99? Answer
  • Q: How do I compile with pthreads? Answer
  • Q: Why do I get redefinition errors against winsock.h when I include winsock2.h? Answer
  • Q: Why doesn't mingw-w64 gcc support Dwarf-2 Exception Handling? Answer
  • Q: How do I fix "__mingw_aligned_malloc not declared in this scope"? Answer
  • Q: How do I use "%llu" in printf? Answer
  • Q: I get some errors with C++11 to_string when building/using GCC, what gives? Answer
  • Q: What are default manifest files and why do they matter? Answer

Execution:

  • Q: Which compiler executable should I use? Answer
  • Q: What does error 0xc000007b mean? Answer
  • Q: What does Procedure entry point XXX not located in Dynamic Link Library mean? Answer
  • Q: Why isn't gdb able to display symbols from DLLs? Answer
  • Q: Why does GDB crash with "thread.c:79: internal-error"? Answer
  • Q: Why do some 32-bit MinGW-w64 applications fail with '... _vswprintf could not be located in the dynamic link library msvcrt.dll'? Answer
  • Q: Why crashes my 64 bit program when using a MSVC-generate x64 *.lib file? Answer

Back


Related

Wiki2: Answer 64 bit MSVC-generated x64 .lib
Wiki2: Answer Check For Mingw-w64
Wiki2: Answer Multilib Toolchain
Wiki2: Answer gdb DLL symbols
Wiki2: Answer generation of DLL import library
Wiki2: Answer libstdc++
Wiki2: Answer threadc79 internal-error
Wiki2: Compile pthreads
Wiki2: Compiling the Runtime
Wiki2: Error 0xc000007b
Wiki2: Exception Handling
Wiki2: FAQ - How to use w64 native compiler in cygwin shell
Wiki2: Home
Wiki2: Installation of binary toolchain packages
Wiki2: LTO and GCC
Wiki2: Missing _aligned_malloc
Wiki2: PPL, CLooG and GCC
Wiki2: Procedure entry point
Wiki2: Unicode apps
Wiki2: Usable compiler executable
Wiki2: _vswprintf missing
Wiki2: default_manifest
Wiki2: download filename structure
Wiki2: gnu printf
Wiki2: printf and scanf family
Wiki2: to_string
Wiki2: winsock2.h include order

Discussion

  • amiaogong

    amiaogong - 2014-10-27

    How I convert a .a which was written by c++ convert to lib which can be used by vc6 or vs2010? the c++ program has some class which the vc6 or vs2010 want to import from mingw 's .a.
    thanks.

     
    • Kai Tietz

      Kai Tietz - 2014-10-27

      2014-10-27 15:59 GMT+01:00 amiaogong amiao@users.sf.net:

      How I convert a .a which was written by c++ convert to lib which can be used
      by vc6 or vs2010? the c++ program has some class which the vc6 or vs2010
      want to import from mingw 's .a.
      thanks.

      In general there is no need to convert .a into .lib, as both are using
      same file-format. So if you have troubles with .a, rename it to .lib
      and you are done with necessary conversion.

      For C++ there is simply to say, this isn't possible due
      name-decoration differences. You would need to convert name-mangling.

       
  • Mathieu Fregeau

    Mathieu Fregeau - 2017-05-24

    Is there a tool to update the Mingw libraries? Most importantly the compiler itself (g++, gcc) and all related to the toolchain? (without having to reinstall Mingw, because usually since it was first installed, many packages have been added afterwards). Under Msys2 one can do pacman -Suyy but that does not update anything on the Mingw64 folder

     

Log in to post a comment.