Please don't drop the BTS from the recipient list when replying. On Wed, Mar 22, 2006 at 04:27:46AM +0100, Christian E. Boehme wrote: > On Tue, Mar 21, 2006 at 05:49:43PM -0800, Steve Langasek wrote:
> > Then you're obviously doing something wrong, but you haven't actually told > > us what you're doing, which makes it difficult to help you debug it. > Well, as indicated earlier, I checked the binaries of the g++ driver > versions for possible hardcoded hints to the location of the standard > headers. There are also no id keywords in these executables. > > Please show us the commands you're running to try to build/link these > > programs, as well as the simplest C++ program for which you're seeing this > > problem. > The command that fails for finding the headers: > g++ -Wall simple.c++ -o simple $ g++ -Wall simple.c++ -o simple $ ./simple 1AI3adpE's size: 8, value: -0.5457 N1AI3adpE1BE's size: 4, value: 8674 $ dpkg -l g++ g++-4.0 libstdc++6-4.0-dev Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii g++ 4.0.2-2 The GNU C++ compiler ii g++-4.0 4.0.3-1 The GNU C++ compiler ii libstdc++6-4.0 4.0.3-1 The GNU Standard C++ Library v3 (development So, as I said, this is completely unreproducible here. You might be able to find out why it's looking in the wrong place using strace on the compiler, but my suspicion is that you have something in your path that didn't come from a Debian package. > The one for dying at the linking stage (headers are located): > g++ -V 3.4 -Wall simple.c++ -o simple Er, I'm not surprised that trying to invoke g++-4.0 as "g++ -V 3.4" doesn't work completely. If I run this command, I get link errors as well; if I run g++-3.4 -Wall simple.c++ -o simple, the program builds and runs fine. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature