I have installed mingW to use gcc, platform windows 7. I am trying to locate the standard C library libc.a in mingW folder. no luck.. is it stored in some other name?
The ncurses library is available for MinGW. Simply open CMD, or run PowerShell and run mingw-get install ncurses , mingw-get will both download and install the package. Just make sure the path to your MinGW bin folder is linked to your system path, and you should be able to use ncurses without trouble.
Generally speaking, GCC-based compilers come with their own C++ standard library, and so a supported compiler will have a supported standard library. Other compilers (such as clang and ICC) may use an external C++ standard library, and so a supported version might use an older, unsupported C++ standard library.
MinGW is a compiler system based on the GNU GCC and Binutils projects that compiles and links code to be run on Win32 (Windows) systems. It provides C, C++ and Fortran compilers plus other related tools.
Libaries consist of a set of related functions to perform a common task; for example, the standard C library, 'libc. a', is automatically linked into your programs by the “gcc” compiler and can be found at /usr/lib/libc. a. Standard system libraries are usually found in /lib and /usr/lib/ directories.
MinGW does not build against glibc, it builds against msvcrt. As such, it uses libmsvcrtXX.a instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With