This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cannot run C++ compiled programs
- From: chao lin <chao_clin at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 12 Dec 2001 13:29:27 -0800 (PST)
- Subject: cannot run C++ compiled programs
Hi, I get this when I am trying to install programs:#
./configure
checking for a BSD compatible install... ./install-sh
-c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific
portions of Makefiles... no
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... configure:
error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
thanks!
chao lin
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com