From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13932 invoked by alias); 6 Aug 2005 04:52:30 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 13925 invoked by uid 22791); 6 Aug 2005 04:52:26 -0000 Received: from server48.intldns.net (HELO 1501.intldns.net) (69.61.1.2) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 06 Aug 2005 04:52:26 +0000 Received: from s0106000d3a2c699c.cg.shawcable.net ([68.146.18.116] helo=[10.1.1.40]) by 1501.intldns.net with esmtpa (Exim 4.50) id 1E1GfX-0007PT-2e for gcc@gcc.gnu.org; Sat, 06 Aug 2005 00:52:23 -0400 Message-ID: <42F44205.3070608@degarrah.com> Date: Sat, 06 Aug 2005 04:52:00 -0000 From: Chris Garrett User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) MIME-Version: 1.0 To: gcc@gcc.gnu.org Subject: GCC 4.0.1 - iostream: No such file or dir.... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PopBeforeSMTPSenders: cgarrett,info@degarrah.com,support@degarrah.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - 1501.intldns.net X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - degarrah.com X-Source: X-Source-Args: X-Source-Dir: X-SW-Source: 2005-08/txt/msg00199.txt.bz2 I finally got 4.0.1 built in msys. I must have screwed up my msys/gcc setup because a clean install of msys and gcc-3.4.1 worked. I started with a simple test: main.cpp: ~~~~~~~~~~~~~~~~~~~~~~~~~~ #include int main() { cout << "Hello\n"; return 0; } then I try and build it: ~~~~~~~~~~~~~~~~~~~~~~~~~~ chris@NEPTUNE /d/tmp/simple$ g++ main.cpp -o main main.cpp:1:20: error: iostream: No such file or directory main.cpp: In function 'int main()': main.cpp:5: error: 'cout' was not declared in this scope I looked thru in /mingw/include/c++/4.0.1 and iostream exists in that directory. Is there something I'm missing? Do you need to specify gcc's include directories explicitly now? Thank you Chris My system details: WinXP Pro GCC 3.4.1 Msys config cmd: ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gcc-4.0.1/configure \ --prefix=/mingw \ --with-gcc \ --with-gnu-ld \ --with-gnu-as \ --enable-threads \ --disable-shared \ --disable-nls \ --enable-languages=c,c++,f95 \ --disable-win32-registry \ --with-gmp=/usr/local/gmp-4.1.4 make cmd: ~~~~~~~~~~~~~~~~~~~~~~~~~~ make \ CFLAGS="-O2 -march=i686 -fomit-frame-pointer" \ CXXFLAGS="-mthreads -O2 -march=i686 -fomit-frame-pointer" \ LIBCFLAGS="-O2" \ LIBCXXFLAGS="-O2 -fno-implicit-templates" \ LDFLAGS="-s" \ bootstrap