Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: Can't compile simple C++ file Date: Tue, 2 Nov 1999 16:09:11 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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