Compile with gcj
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...
View ArticleUse more recent defined functions
When compiling, the compiler doesn't seem to find the correct definitions for a specific Windows version or a specific Internet Explorer version. Why is that? You need to set defines _WIN32_WINDOWS,...
View ArticleSpecify the libraries for the linker to use
How do I specify the libraries to be searched by the linker?MinGW supports libraries named according to the "<name>.lib" and "<name>.dll" conventions, in addition to the normal...
View ArticleMy executable is sometimes different
My executable is sometimes different, when I compile and recompile the same source. Is this normal? Yes, by default, and by design, ~MinGW's GCC does not produce ConsistentOutput, unless you patch it.
View ArticleBuilding a program giving me error messages
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...
View ArticleThe compiler giving internal compiler errors
Why does gcc give internal error messages?If you see diagnostic messages like../include/wx/ctrlsub.h:156: internal error: Segmentation faultread more
View Article
More Pages to Explore .....