|
From: Burnell G. W. <bg...@mi...> - 2003-11-02 03:44:22
|
I wanted GCC on my Win2K machine, so I downloaded and installed MSYS, which immediately enabled a UNIX-like window with a familiar behavior. (I am not - repeat NOT - a UNIX expert.) It felt very good to me, by the way. I then downloaded * gcc-core-3.3.1-20030804.tar.gz * gcc-g++ <ditto> * gcc-java <ditto> * gcc-objc <ditto> and extracted the files in my /c/mingw directory (I had actually installed them in another location, but the installation produced a message that said they should preferably be installed in /c/mingw so I uninstalled them and deleted the extracted files, then created /c/mingw and installed again). I looked through the notes, files, and so forth and found no instructions for installing the GCC files, other than the instruction to download them in the mingw root directory. So I attempted to execute GCC on a source file. The compilation failed, because the compiler could not find stdio.h. Because I don't have it. It isn't included in the binary distributions. So I went back and got all the sources, and had no trouble locating the .h files. But I don't know how to get GCC to find them. The FAQ didn't have any reference to how to download the binaries and use them that I could see, and I copied them into /usr/includes and /usr/local/includes but it didn't help. I made a gcc/bin subdirectory (as one does) and (after editing Danny's example build.sh to delete the compiler extensions I didn't want) executed ../gcc/configure which of course failed because I don't have a gcc that works (because it can't find the .h files). There seems to be a related function "fixinc" but I didn't manage to figure out how to invoke it or otherwise make use of it. Can anybody help me? Thanks heaps. Burnie |