Need Help:gcc-2.8.1 on AIX 4.3.1.0

saidun@my-deja.com saidun@my-deja.com
Fri Oct 1 00:00:00 GMT 1999


Hi,
      I have downloaded gcc-2.8.1 from www-frec.bull.com for an RS6000
machine running AIX 4.3.1.0.  After installing the bff package, I run
the fixinclude program.  It looked like it was doing something, but
when I tried to compile the a simple program I got the following
results.  My question is what am I doing wrong?  Is there a way to build
gcc on a AIX when you do not have a C compiler?  I have also read some
place that I need ecgs on AIX 4.x.  What is ecgs?  I did not find it on
www-frec.bull.com, is it part of the gcc package?  As you can tell I am
new to this compiler business and need some help.

Thank you,

Sohrab

tuna> cat a.c
#include <stdio.h>
main (void)
{
printf ("foobar \n");
}

tuna> gcc -v
Reading specs from
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.1.5.0/2.8.1/specs
gcc version 2.8.1

tuna> gcc a.c
In file included from /usr/local/include/sys/types.h:165,
                 from /usr/local/include/stdio.h:316,
                 from a.c:1:
/usr/include/sys/m_types.h:69: parse error before `vmid_t'
/usr/include/sys/m_types.h:69: warning: data definition has no type
or storage class
/usr/include/sys/m_types.h:70: parse error before `vmhandle_t'
/usr/include/sys/m_types.h:70: warning: data definition has no type
or storage class
/usr/include/sys/m_types.h:78: parse error before `vmhandle_t'
/usr/include/sys/m_types.h:78: warning: no semicolon at end of struct
or union
/usr/include/sys/m_types.h:84: parse error before `}'
/usr/include/sys/m_types.h:84: warning: data definition has no type
or storage class
/usr/include/sys/m_types.h:92: parse error before `__ulong32_t'
/usr/include/sys/m_types.h:92: warning: no semicolon at end of struct
or union
/usr/include/sys/m_types.h:93: warning: data definition has no type
or storage class
/usr/include/sys/m_types.h:98: parse error before `}'
/usr/include/sys/m_types.h:98: warning: data definition has no type
or storage class


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


More information about the Gcc-help mailing list