X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.9 required=5.0	tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,TW_QL
X-Spam-Check-By: sourceware.org
Date: Thu, 15 Sep 2011 18:52:40 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <4910244359.20110915185240@mtu-net.ru>
To: Ted Byers <r.ted.byers@gmail.com>, cygwin@cygwin.com
Subject: Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?
In-Reply-To: <loom.20110915T150817-936@post.gmane.org>
References: <loom.20110915T060405-768@post.gmane.org> <loom.20110915T150817-936@post.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Greetings, Ted Byers!

> However, when I compile the program using gcc within cygwin (and run it the
> same way - Activestate perl from a Windows' CMD console, no output is 
> produced, and if I try to run qlt from Windows' CMD, it complains about a 
> missing DLL and dies..

Which DLL? You know, we're net standing behind you, staring at your screen
over your shoulder.

> So, I found a fix in terms of adding cygwin/bin to the  path.

Fix? Sorry me, but Cygwin installation manager explicitly tell you to do so.

> That lets me run the programs I compile using gcc within cygwin's bash shell
> in the same way I run programs I compile using MSVC++.
> The downside is that I was reluctant to make the cygwin programs themselves
> visible within Windows' CMD shell as I was concerned about the possibility
> that doing so might break some other Windows applications I use.

It may, now what? Use Cygwin ones as more POSIX-compliant.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 15.09.2011, <18:50>

Sorry for my terrible english...


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

