[OpenAFS] configure:gcc - compilation:cc

Hans-Gunther Borrmann hans-gunther.borrmann@rz.uni-freiburg.de
Thu, 17 Jun 2004 17:47:14 +0200


I compile 1.3.64 under AIX 5.1. If I do not set the environment variable CC 
configure uses for its checks gcc and it recognizes AIX:

[root@sv13:openafs-1.3.64]# ../configure.call 
loading cache ./config.cache
checking for a BSD compatible install... /usr/linux/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking host system type... rs6000-ibm-aix
checking for AIX... yes

The compilation uses cc, which is the IBM C-Compiler. I do not know if this 
can cause any problems.

If I set CC=cc to let configure make its checks with the correct compiler the 
test for AIX fails!

[root@sv13:openafs-1.3.64]# ../configure.call 
creating cache ./config.cache
checking for a BSD compatible install... /usr/linux/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking how to run the C preprocessor... /lib/cpp
checking for ANSI C header files... yes
checking host system type... rs6000-ibm-aix
checking for AIX... no

Thanks in advance for any help
Gunther
-- 
________________________________________________________________
Hans-Gunther Borrmann <hans-gunther.borrmann@rz.uni-freiburg.de>
Rechenzentrum der Universitaet Freiburg
Hermann-Herder-Str. 10, D79104 FREIBURG
Tel.: +49 761/203-4652
Fax:  +49 761/203-4643