This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Configure problems
- To: gcc at gcc dot gnu dot org
- Subject: Configure problems
- From: Branko Čibej <branko dot cibej at hermes dot si>
- Date: Thu, 18 May 2000 13:53:23 +0200
- Organization: HERMES SoftLab
Hi,
I'm having problems bootstrapping GCC on sparc-sun-solaris2.6 lately,
but current CVS (updated a few minutes ago) won't even configure:
...
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
checking build system type... sparc-sun-solaris2.6
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... yes
../../../gcc/gcc/configure: test: argument expected
Configure in /home/brane/eval/gcc/tbuild/obj/gcc failed, exiting.
This is in gcc/config.log:
...
configure:1280: cc -c conftest.c -o conftest.o 1>&5
And here's the what (I think) is the problem, in gcc/configure(1305):
if test $ac_cv_prog_cc_cc_c_o = no; then
NO_MINUS_C_MINUS_O=yes
fi
Everywhere else, this variable is referred to as `ac_cv_prog_cc_${ac_cc}_c_o'
and I'm using `gcc' as the bootstrap compiler ... yes, it configures if I use
`cc' instead.
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70