delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/15/20:23:08

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 <r DOT ted DOT byers AT gmail DOT com>
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: <loom.20110916T021006-932@post.gmane.org>
References: <loom DOT 20110915T060405-768 AT post DOT gmane DOT org> <loom DOT 20110915T150817-936 AT post DOT gmane DOT org> <4910244359 DOT 20110915185240 AT mtu-net DOT ru> <4E721B17 DOT 5080004 AT molconn DOT com> <loom DOT 20110915T190625-475 AT post DOT gmane DOT org> <4E7239CC DOT 9050209 AT cygwin DOT com> <loom DOT 20110915T194950-750 AT post DOT gmane DOT org> <4E7250F8 DOT 4010402 AT molconn DOT com>
Mime-Version: 1.0
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: <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

LMH <lmh_users-groups <at> molconn.com> writes:

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

- Raw text -


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