delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/15/04:25:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: mbuch AT IFF572 DOT IFF DOT KFA-JUELICH DOT DE
Date: Thu, 15 Nov 2001 10:19:57 +0100 (CET)
Reply-To: m DOT buchmeier AT fz-juelich DOT de
To: Lily Tsai <oneray AT rupture DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: help on running c program on cygwin
In-Reply-To: <20011114184729.T49708-100000@froody.rupture.net>
Message-ID: <Pine.LNX.4.21.0111151017460.19612-100000@IFF572.IFF.KFA-JUELICH.DE>
MIME-Version: 1.0

On Wed, 14 Nov 2001, Lily Tsai wrote:

> Date: Wed, 14 Nov 2001 20:26:23 -0400 (EDT)
> From: Lily Tsai <oneray AT rupture DOT net>
> To: cygwin AT cygwin DOT com
> 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
> 
> 
> 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."
> 
> 
> So, I re-installed and nothing changed.
> 
> Can you help?
> 

You must add at least the cygwin/bin directory to your windows 
path. Try to start the program from inside cygwin (the  shell). 

> Thanks in advance,
> Lily
> 
> 
> 
> --
> 
> -*-*-*-Lily Tsai-*-*-*-
> oneray AT rupture DOT net
> 
> 
> 
> --
> 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/
> 
> 

###############################################
#         mail:  Matthias Buchmeier           #
#                IFF-IEE                      #
#                Forschungszentrum Juelich    #
#                52425 Juelich                #
#                Germany                      #
#                                             #
#           tel: +49 (0)2461 61 4273          #
#           fax:                4443          #
#         email: m DOT buchmeier AT fz-juelich DOT de    #
###############################################


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019