| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | "Paul Garceau" <pgarceau AT teleport DOT com> |
| Organization: | New Dawn Productions |
| To: | <cygwin AT cygwin DOT com> |
| Date: | Tue, 5 Dec 2000 15:51:49 -0800 |
| MIME-Version: | 1.0 |
| Subject: | Re: g++ under cygwin problem |
| Reply-to: | Paul Garceau <pgarceau AT teleport DOT com> |
| 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 <iostream.h>
> 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 <cygwinroot>/lib which does
include all of the C++ libs (ie. <cygwinroot>/lib vs.
<cygwinroot>/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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |