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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=xiRM7+P7chj0EbWx/DTbkVQWq1hEQn3hcIJ1MiHlKkpRVSlBVQb9R Gh8oxAbcZ6V0NpkF0/8C3qCYNk8DcoakPUyYEvSQ3zNvt+FRkB9ZYcmjD3G6dFI9 V/yR9NbtUttB+Q9iPSuoVH7yDRzqHBgdCSlABs/EbUEO8zJk9k/V2o= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=9/WsVBa/yMDg5yWPZTU5w4v3/uo=; b=Tjl6Sz/+uaj1HZmPpTU2bjii8jdr 747uKtpyr5q4rQhTqTIVTYzFBY5/i9WKcu8je3MdIjW3cdCb9venzyQVZ9OMRVMf SD2gDXONUnW9EaVN6nPpVAH/RICKnP7MqoF0DRAEMoyMvqbUKXFhLLcb7TVa+1Ea o1YeWIIOJREUK18= 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 X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,TW_YG autolearn=no version=3.3.1 Date: Fri, 19 Jul 2013 09:55:28 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Mingw build problem for TCL Message-ID: <20130719075528.GA10849@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <51E89AC4 DOT 2030405 AT fastmail DOT fm> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <51E89AC4.2030405@fastmail.fm> User-Agent: Mutt/1.5.21 (2010-09-15) On Jul 19 11:47, Jonathan Kelly wrote: > Hi, > > sorry if this isn't the correct place. I have previously used the > mingw-* packages to create a Windows compile of tcl8.6.0, but > currently it doesn't work. It compiles without error as far as I can > see, but when you try to run the executable (tclsh8.6.0.exe) it > returns immediately with code 127. > (PS ... I have tried it with the current mingw/msys system directly, > and that compiles OK.) > ------- > $ uname -a > CYGWIN_NT-6.1-WOW64 jon-Z930 1.7.21(0.267/5/3) 2013-07-15 12:17 i686 Cygwin > > $ cygcheck -c | fgrep mingw > mingw-binutils 2.23.1-1 OK > mingw-gcc-core 4.7.3-1 OK > mingw-gcc-g++ 4.7.3-1 OK > mingw-pthreads 20110507-2 OK > mingw-runtime 4.0-1 OK > mingw-w32api 4.0-1 OK > > $ ./configure --host=i686-pc-mingw32 --build=i686-pc-mingw32 --prefix=/Tcl > ... cut ... > > $ make binaries > ... cut ... > i686-pc-mingw32-gcc -O2 -fomit-frame-pointer -DUNICODE -D_UNICODE > tclAppInit.o libtcl86.a libtclstub86.a -lnetapi32 -lkernel32 > -luser32 -ladvapi32 -lws2_32 > /cygdrive/c/src/tcl8.6.0/compat/zlib/win32/zdll.lib \ > tclsh.res.o -o tclsh86.exe -mconsole -pipe > > $ echo $? > 0 > > $ ./tclsh86.exe > > $ echo $? > 127 Does it run correctly when started from CMD? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- 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