This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: help on running c program on cygwin



----- Original Message -----
From: "Lily Tsai" <oneray@rupture.net>
To: <cygwin@cygwin.com>
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]