This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation problems using gcc 2.95.2 on AIX 4.3.3
- From: Andrea 'Fyre Wyzard' Bocci <fwyzard at inwind dot it>
- To: "Venkatakrishnan, V" <V dot Venkatakrishnan at channels dot usa dot xerox dot com>,gcc-help at gcc dot gnu dot org
- Date: Fri, 01 Feb 2002 01:54:04 +0100
- Subject: Re: Compilation problems using gcc 2.95.2 on AIX 4.3.3
At 16.23 30/01/2002 (GMT -0500), Venkatakrishnan, V wrote:
>Hi,
> I've just built an AIX box running v4.3.3 and have gcc 2.95.2
>running. When I try to compile my code the compiler goes looking for the
>system header files like types.h, stdio.h etc. in the
>/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys and then
>gives me a lot of errors.
What kind of errors ?
>Why does it go looking there?
If I understand correctly the behaviour of gcc, the installation should put
in /usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys some
header files needed to fix inconsistencies with the system header files.
Note that I'm just guessing. This might be utterly false, actually :-)
>How do I make it to look under /usr/include/sys ??
The GCC ones should be including the system ones, in the end.
Assuming you configured and built gcc on that (or a similar) machine, it
should look for them automatically.
However, you can specify where to look for header files (see the GCC manual
<http://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc_2.html#SEC11> for the command
line flags and their meaning).
Hope this helps, someway
fwyzard