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 Message-ID: <027e01c09bbf$2f91b170$3c5350d8@bluesguitar.org> From: "Matthew Smith" To: "Cygwin" References: <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010220191642 DOT 00a60b10 AT ce-nfs-1 DOT cisco DOT com> Subject: Re: Simple hello world in C++ Date: Tue, 20 Feb 2001 22:31:40 -0600 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.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > I'm trying to compile a simple "Hello World" using the latest build tools > in cygwin, but with the -mno-cygwin option so that the resulting object > does't require the cygwin1.dll: > > #include > > int main(void) { > std::cout << "Hello!\n"; > return 0; > } Not sure if this is related to your problem, but IIRC, if you're using namespaces, you should be using , not . cheers, -Matt -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple