Why does gcc give internal error messages?
If you see diagnostic messages like
../include/wx/ctrlsub.h:156: internal error: Segmentation fault
If you see diagnostic messages like
../include/wx/ctrlsub.h:156: internal error: Segmentation fault
TODO: Reformat for MediaWiki formatting.
!
stdio.h: no such file or directory(or another standard header)
This may be occur if you install GCC but not the w32api and mingw-runtime packages. The MinGW installer (e.g. MinGW-3.1.0-1.exe) includes all the basic packages you need: GCC, binutils, w32api, mingw-runtime and mingw32-make. See http://www.mingw.org/download.shtml.
!
gcc: no input files When you first download and install the MinGW Java compiler (gcc-java), you may find that when you try to compile a Java program with gcj, you get an error saying "cannot find -liconv". This is because gcj automatically attempts to link your program with libiconv, which is not distributed with MinGW and must be downloaded and installed separately. To get your Java program to compile, download libiconv from http://gnuwin32.sourceforge.net/packages/libiconv.htm. You want "Binaries" and "Developer files". Unzip both downloaded files to your MinGW directory.