delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <00ec01bf2655$4e779a40$03dedede@walldata.com> |
From: | "Mark Engelberg" <mark DOT engelberg AT bigfoot DOT com> |
To: | <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Can't compile simple C++ file |
Date: | Tue, 2 Nov 1999 16:09:11 -0800 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Okay, here's the deal. I've got a fairly simple C++ file that compiles just fine in Visual C++. It only uses standard C++ headers. I give the file to someone using gcc on Linux, and he says it compiles fine with no changes needed. So I download cygwin, and try to compile my program, and in the link stage, I get dozens of error messages saying that the linker can't find the definition for standard stuff like iostreams. (Can someone please remind me how to capture stderr so that I can read all these error messages without them scrolling off the screen?) I try to link explicitly to the stdc++ library, but it doesn't make a difference. I download and install gcc 2.95, but it makes no difference. HELP! Any idea what's going wrong? Thanks, Mark Engelberg -- 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 |