Problems when installing gcc-2.95.2

David Edelsohn dje@watson.ibm.com
Tue May 16 15:01:00 GMT 2000


>>>>> 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


More information about the Gcc-bugs mailing list