G++ an multiple architectures (solved)

Matthew Gillen me at mattgillen.net
Tue Nov 14 09:38:17 EST 2006


Jerry Feldman wrote:
> As I mentioned yesterday, the /usr/include/c++/3.4.3/x86_64-redhat-linux
> directory was missing. At the moment, I don't have the systems set up for 
> up2date, but my solution was to simply copy that directory tree from a 
> known good system. Apparently the libraries were fine, so it is simply the 
> c++ include files. I was able to compile both 64-bit and 32-bit c++ 
> programs aftrer I did that.

On the known-good system, you can do:
 rpm -q --whatprovides /usr/include/c++/3.4.3/x86_64-redhat-linux

to find out what package you're missing on the broken system (libstdc++-devel
perhaps?).

Matt

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list