From: Brian D. <br...@de...> - 2006-03-11 13:03:35
|
David Rasmussen wrote: > I just installed MinGW on my computer (various packages). But I have one > major problem: Where are all the C include headers such as stdio.h? All > of them seem to be missing from my C:\MinGW\include dir. I would think > that they should be in the gcc-core package, but they are not. And I > can't imagine which other package they are in. Gcc is just a compiler. The C library is separate and not part of the compiler, so you should never expect to see standard include headers (parts of the C library) in a gcc package. You can mix and match them in many ways, e.g. gcc+newlib, gcc+glibc, gcc+uclibc, gcc+cygwin, gcc+msvcrt. The latter is how mingw works, and the headers and import libraries for the Microsoft C library (MSVCRT.DLL) are in the mingw-runtime package. If you don't have mingw-runtime installed then this implies that you might want to review the documentation. A working toolchain requires a lot more than just the gcc packages. binutils, w32api, and mingw-runtime are all required. Brian |