[techtalk] cross compilers?

Michelle Murrain mpm at norwottuck.com
Fri Apr 20 12:31:02 EST 2001


Hi folks,

I'm trying to install some software (kivio, actually) from source. I'm 
running Linux Mandrake 7.1, and I do have a fairly recent gcc 
(gcc-2.96-0.33mdk to be exact) installed by rpm.

In doing the configure, I get the following error:

...
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 how to run the C preprocessor... gcc -E
checking for a C++-Compiler...
checking for g++... no
checking for CC... no
checking for xlC... no
checking for DCC... no
configure: error: no acceptable C++-compiler found in $PATH


So I'm confused. It's my understanding that gcc does indeed compile C++ code. 
So why does this configure say it doesn't?

(I've run into this problem before, so I don't think it's a kivio install 
problem.)

Michelle

PS btw, the reason I am installing this from source instead of RPM is that 
for some reason the RPM doesn't work, and I figured compiling from source 
would be easier than troubleshooting the RPM. (I'm not much of an RPM fan 
myself, I'd rather either use tarballs or use apt-get, I don't think rpm's 
buy you much.)

-- 
------------
Michelle Murrain, Ph.D.
President
Norwottuck Technology Resources
mpm at norwottuck.com
http://www.norwottuck.com




More information about the Techtalk mailing list