This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problems when installing gcc-2.95.2
- To: Blom Cao <blomcao at yahoo dot com>
- Subject: Re: Problems when installing gcc-2.95.2
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 16 May 2000 17:58:45 -0400
- cc: gcc-bugs at gcc dot gnu dot org, gcc at gcc dot gnu dot org
>>>>> Blom Cao writes:
| <root@dynamite:/usr/local/gcc-2.95.2> configure
| Configuring for a powerpc-ibm-aix4.2.1.0 host.
| Created "Makefile" in /usr/local/gcc-2.95.2
| configure[1462]: cc: 0403-006 Execute permission denied.
| *** The command 'cc -o conftest -g conftest.c' failed.
| *** You must set the environment variable CC to a working compiler.
| <root@dynamite:/usr/local/gcc-2.95.2/gcc> configure
| loading cache ./config.cache
| checking LIBRARY_PATH variable... ok
| checking GCC_EXEC_PREFIX variable... ok
| checking host system type... powerpc-ibm-aix4.2.1.0
| checking target system type... powerpc-ibm-aix4.2.1.0
| checking build system type... powerpc-ibm-aix4.2.1.0
| checking for gcc... no
| checking for cc... no
| configure: error: no acceptable cc found in $PATH
| <root@dynamite:/usr/local/gcc-2.95.2/gcc> exit
As the error messages state, you need to have a working C compiler
in order to build GCC. If you do not have any C compiler available on
your AIX installation, I would suggest that you use one of the binary
distributions available from third parties:
http://www-frec.bull.com/docs/download.htm
http://aixpdslib.seas.ucla.edu/
Note that you need to have the AIX development environment
filesets (assembler, linker, header files, libraries, etc.) installed on
your system in order to use the binary distribution of GCC. Those
filesets do not require an additional license.
David