delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type; q=dns; s=default; b=Va | |
PfErE1ZCgECBEdoXGWIlUdFnRmYbZV6nFYh83JVLhE/O1SylDy2MTQIyrfbPBS+t | |
4N5pS2oK9Dvjaklj2MNJXpGZlcRvTn2mVzAyjvisNnlDEOTZsZKEvSOCPQnknqIU | |
zBkMOLJJbFCq367KZPN/A87tqpzfWmJJwIKfdAg0g= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type; s=default; bh=MEiq6JZx | |
Q6PUatKsNCDezeiQBsU=; b=uY6/MdpvSNlXBYcWGCcQvBbvvuJonMOZGedlR1U4 | |
mQgPnC9HzB+Wt/pyh4mPJtSmtaFS6M/i6z0sO9K+SHdpkCcOjXiZS1DmyZFek8bN | |
+/Xua1OpfJqC9w9ogClPFKiPH1/GX/l7qlUdpsXkXnUWzkHVj/NDJUnyid3QsVHb | |
Xp0= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-we0-f169.google.com |
MIME-Version: | 1.0 |
X-Received: | by 10.180.210.171 with SMTP id mv11mr8480947wic.44.1395045991275; Mon, 17 Mar 2014 01:46:31 -0700 (PDT) |
In-Reply-To: | <53267DE4.2090303@jaymax.com> |
References: | <53267DE4 DOT 2090303 AT jaymax DOT com> |
Date: | Mon, 17 Mar 2014 09:46:31 +0100 |
Message-ID: | <CAEhDDbANOV-=TA7taJdE3JBF-pAMvPj_kOZ+rrWnRqP5MXucgw@mail.gmail.com> |
Subject: | Re: cygwin usage on Windows |
From: | Csaba Raduly <rcsaba AT gmail DOT com> |
To: | cygwin list <cygwin AT cygwin DOT com> |
Hi Joseph, On Mon, Mar 17, 2014 at 5:45 AM, Joseph E. Maxwell wrote: > I have a question that I am sure must have been addressed before, but I > cannot find it after days of searching. Of course I am a Newbie with cygwin. > > I have completed an installation, successfully, I think on an x386 platform > w/ Win XP SP3 OS. > > I can compile a C program from within the cywgin shell (terminal) but cannot > do so from a windows page. > Attempting to run the executable from the latter, generate a terse error > response, "This application has failed to start because cygwin1.dll was not > found. Re-installing the application may fix this problem". > > Is this the actual mode of performance (executable to be run only from the > cygwin shell and not from Windos page) or have I lost functionality along > the way? Cygwin programs need to be able to load cygwin1.dll You need to add C:\cygwin\bin to the Windows PATH; then cygwin1.dll will be found even when running programs from the command prompt. This is a step you have to perform manually; the installer does not do it. There are some potential name clashes between Windows programs and Cygwin programs; e.g. find If you put C:\cygwin\bin before C:\windows\system32 and type just the name of the program, you'll get the Cygwin version even from a Windows prompt (which is what I usually do, because I can't remember using the Windows version of find). If you put C:\cygwin\bin after C:\Windows\system32, you'll get the Windows version. From a Cygwin shell, you get the Cygwin version by default (unless you change the path in your bash startup script), because Cygwin does some magic with the path to get its own bin directory to the front. Hope this helps, Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |