|
From: Pascal Q. <pas...@fr...> - 2010-09-03 15:00:45
|
Hello,
First post the mailing list. I am trying to install Mingw compiler on
a new computer (I have already installed Mingwin compiler several
years ago on a previous computer without any problem). I have no
direct access to the Web and I didn't want to install msys. So I did
the following:
- I manually downloaded some packages for the new GCC 4.5 release:
gcc-core-4.5.0-1-mingw32-bin, gcc-c++-4.5.0-1-mingw32, ....
- I installed the packages in C:\Program Files\Mingw and I added the bin
dir to the PATH.
- I can launch the gcc exe, but I am not able to compile simple C
programs due to the fact gcc doesn't find C headers like stdio.h,
math.h, ... Effectively they are not present in my installation[*].
I tried with the gcc 4.0 full package but I got the same problem. Do I
have to install a dedicated package to get those includes? Or is there
anything special to do that I am not aware of (I didn't approach a C
compiler since a lot of years).
TIA.
[*] In fact the include files exist on my installation but they are
not located in one of the directories searched for
compilation. For example stdio.h is in ssp and tr1 subdirs.
--
Pascal Quesseveur
pas...@fr...
|