X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.7 required=5.0 tests=AWL,BAYES_40,DENTIST_BODY,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_JH,TW_SJ,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Ted Byers Subject: Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell? Date: Fri, 16 Sep 2011 00:22:24 +0000 (UTC) Lines: 26 Message-ID: References: <4910244359 DOT 20110915185240 AT mtu-net DOT ru> <4E721B17 DOT 5080004 AT molconn DOT com> <4E7239CC DOT 9050209 AT cygwin DOT com> <4E7250F8 DOT 4010402 AT molconn DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com LMH molconn.com> writes: > > It seems like a cross compiled c app to launch your child process would > be more portable, but I will look at the perl more closely later. I'm > off to the dentist for now, fun, fun, fun. > Well, on a different machine, I installed cygwin fresh, including the mingw development tools for the 64 bit target, but that did not bring any joy: when the resulting test executible is invoked in a windows CMD session, it complained it could not find "libgcc_s_sjhj-1.dll", and in a bash session, it ends without any output (which means it dies before the extensive output is generated, but without producing messages about exceptions or any reason why the program died. Are these cross compilers mature? I would think that if they produce binaries that need libgcc_s_sjhj-1.dll, it, or whatever package that contains it, would be identified as something the cross compilers depend on. I do know that that dll is not to ne found on any of my machines. I guess I may have to live with the cygwin/bin directory being added at the end of the PATH environmental variable. Thanks Ted -- 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