From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9520 invoked by alias); 7 Aug 2002 16:54:23 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 9447 invoked from network); 7 Aug 2002 16:54:22 -0000 Received: from unknown (HELO anchor-post-35.mail.demon.net) (194.217.242.85) by sources.redhat.com with SMTP; 7 Aug 2002 16:54:22 -0000 Received: from mailgate.softwire.co.uk ([62.49.203.138] helo=polarbear) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 17cU4j-00064T-0U; Wed, 07 Aug 2002 17:54:21 +0100 From: "Rupert Wood" To: Cc: Subject: RE: not finding header files... Date: Wed, 07 Aug 2002 09:54:00 -0000 Message-ID: <616BE6A276E3714788D2AC35C40CD18D56174E@whale.softwire.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <616BE6A276E3714788D2AC35C40CD18D763077@whale.softwire.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-SW-Source: 2002-08/txt/msg00056.txt.bz2 Jun Goo wrote: > i've just finished installing a copy of gcc 3.1.1 onto my computer > and instead of replacing 2.96 (the previously installed version of > gcc), i installed 3.1.1 under /usr/local (actual g++, gcj, g77, etc > files under /usr/local/bin) : > i believe the header files for 3.1.1 are under > /usr/include/g++-3 They're probably under /usr/local/include/g++-3. The best way to debug this sort of thing is to compile something simple, e.g. your hello.cc, with the -v switch: g++ -v hello.cc GCC will, amongst other things, dump its search directory path to the console so you can see where it's looking. Good luck, Rup.