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: <02d601c16d9a$e2acc850$59ee85ce@amr.corp.intel.com> From: "Tim Prince" To: "Lily Tsai" , References: <20011114184729 DOT T49708-100000 AT froody DOT rupture DOT net> Subject: Re: help on running c program on cygwin Date: Wed, 14 Nov 2001 18:47:27 -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.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 ----- Original Message ----- From: "Lily Tsai" To: Sent: Wednesday, November 14, 2001 4:26 PM Subject: help on running c program on cygwin > > I just installed Cygwin on XP and tried running a simple helloworld in c. > After a good compilation using gcc, I get nothing when trying to run the > outputfile. > > $gcc helloworld.c -o helloworld.exe > > $helloworld.exe > $ ./helloworld > > nothing. > > When I double-click on the helloworld.exe icon on Windows Explorer, I get > an error prompt: > > "This application has failed to start because cygwin1.dll was not found. > Re-installing the application may fix this problem." > If, after you think twice about it, you still wish this to work, make a Windows shortcut to cygwin1.dll in the folder with your helloworld. Ugly. > > So, I re-installed and nothing changed. > > Can you help? > > Thanks in advance, > Lily > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/