Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Paul Garceau" Organization: New Dawn Productions To: Date: Tue, 5 Dec 2000 15:51:49 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: g++ under cygwin problem Reply-to: Paul Garceau Message-ID: <3A2D0F15.6739.194986@localhost> In-reply-to: <33D717F415B9D311AE13009027DCECA101700E@REDUXSERVER1> X-mailer: Pegasus Mail for Win32 (v3.12c) Hi folks, On 5 Dec 2000, at 10:12, the Illustrious Josh Schwartz wrote: > > > Hi > > I'm using g++ under cygwin. I've tried to compile the following > simple program: > > #include > int main() { > cout << "hello, world!"; > ; return 0; } > > > However I get the following error: > /temp/test> g++ -o test test.C > In file included from > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3/ > streambuf.h :36, from... I thought that the lib references necessary did not include anything that had "i686-pc-cygwin" as part of the path... After checking my distribution installation (based on latest setup.exe install), there is no such thing as usr/lib/gcc-lib/i686-pc-cygwin/2.95.2. However there is something called /lib which does include all of the C++ libs (ie. /lib vs. /usr/lib) Could it be that your lib include path isn't being set properly? Peace, Paul G. Nothing real can be threatened. Nothing unreal exists. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com