delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Date: | Sun, 22 Dec 2002 15:33:21 -0800 (PST) |
From: | Michael A Chase <mchase AT ix DOT netcom DOT com> |
Subject: | Re: Running cygwin built programs in Windows XP |
To: | cygwin AT cygwin DOT com, John Seeliger <jseelige AT aaahawk DOT com> |
Message-ID: | <Mahogany-0.64.2-1905-20021222-153321.00@ix.netcom.com> |
MIME-Version: | 1.0 |
references: | <au31v8$snd$1 AT main DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 44 DOT 0212211954070 DOT 5047-100000 AT slinky DOT cs DOT nyu DOT edu><au53lo$af4$1 AT main DOT gmane DOT org> |
in-reply-to: | <au53lo$af4$1@main.gmane.org> |
Reply-To: | Michael A Chase <mchase AT ix DOT netcom DOT com> |
On Sun, 22 Dec 2002 13:27:18 -0600 John Seeliger <jseelige AT aaahawk DOT com> wrote: > "Igor Pechtchanski" <pechtcha AT cs DOT nyu DOT edu> wrote in message > news:Pine DOT GSO DOT 4 DOT 44 DOT 0212211954070 DOT 5047-100000 AT slinky DOT cs DOT nyu DOT edu... >> On Sat, 21 Dec 2002, John Seeliger wrote: >> >>> How do I run a program that I built with gcc under Cygwin in Windows? When >>> I try to run them, it says it can't find cygwin1.dll. >> >> Make sure c:\cygwin\bin is in your PATH. Another alternative is to use >> the mingw runtime by giving gcc the -mno-cygwin option, but be aware that >> there is less posix support there (IIRC). > Thanks. I gave the -mno-cygwin a try and it worked. I added > c:\cygwin\bin > to my autoexec.bat. As far as I know, autoexec.bat has no effect in WinXP. > It still will not recognize it and programs developed in cygwin without > the -mno-cygwin option and opened directly from windows give the error > message about cygwin1.dll . Where does it need to go? You need to add it to PATH in 'My Computer' -> ??? -> Environment. Look up Environment in WinXP's help. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |