[ale] C++ compiler errors
Gbrdman
snifong at ix.netcom.com
Mon Jul 27 19:24:43 EDT 1998
Closer this time. Still getting:
loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -Wall -s) works... yes
checking whether the C compiler (gcc -O2 -Wall -s) 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... g++
checking for c++... g++
checking whether the C++ compiler (g++ -O2 -Wall -s) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
On Mon, 27 Jul 1998, you wrote:
>On Mon, 27 Jul 1998, Gbrdman wrote:
>
><snip>
>> checking for c++... c++
>> checking whether the C++ compiler (c++ -O2 -Wall -s) works... no
>> configure: error: installation or configuration problem: C++ compiler cannot
>> create executables.
><snip>
> My hunch would be to try the following:
>
>$export CPP=g++
>$export CXX=g++
>$export CC=gcc
>$./configure
>
> On most boxes, "c++" is simply a soft link over to "g++". If you
>are running RH 5.1, then chances are pretty good that "c++" is actually an
>executable version of egcs, not a soft link to g++. Thus, you have to make
>things a little more explicit to autoconf and tell it (through environment
>variables) what you want it to use for your c++ compiler, mainly, g++, not
>egcs.
>
> - Mike
>============================================================================
>Michael Kachline CS, Georgia Institute of Technlology
>kachline at brightstar.gt.ed.net
>http://brightstar.gt.ed.net/kachline
>============================================================================
More information about the Ale
mailing list