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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=DUR8cSFu2qCUiKMd+GwWwvIEiGiOHl37Q/UygpA9/kM vglInr75BOizUc2g2C8dyNe9wU4zXF3m/ji5fh2rYG4LBfe4rptFGYAEIBwzK4+P aUET7Q/HGApEjWhl/8+G/dGMCuGkS75nh87kj6oNDNUNeKY31MXtkuOctwXu918A = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=Na2aeOQxDI0K2nupNvBENb9Eg+w=; b=uHUGHwuBQga14F/lL Ln8PNzY2pefyKPsJi83gXMSA/qPdooTBY/9AZ3HEH2M+Mv77rrhctBozcRGskSwo MPH8Wr5EcjulHL1bKF73UctrNCxRVMV67nrP7NZJLX4gglZyJYgXOIjlZp/sLbgb L1qU4j1/NRt7DIBrcaR1xTOAZ4= 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.6 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS,TW_YG autolearn=no version=3.3.1 Message-ID: <51EB6CE3.9050403@fastmail.fm> Date: Sun, 21 Jul 2013 15:08:51 +1000 From: Jonathan Kelly User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Mingw build problem for TCL References: <51E89AC4 DOT 2030405 AT fastmail DOT fm> <20130719075528 DOT GA10849 AT calimero DOT vinschen DOT de> <51E9B8DE DOT 7030408 AT fastmail DOT fm> <20130720110044 DOT GN20871 AT calimero DOT vinschen DOT de> In-Reply-To: <20130720110044.GN20871@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 20/07/2013 9:00 PM, Corinna Vinschen wrote: > On Jul 20 08:08, Jonathan Kelly wrote: >> On 19/07/2013 5:55 PM, Corinna Vinschen wrote: >>> 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 >>> >> Not. Comes up with error "The application was unable to start >> correctly (0xc0000022). > Then Earnie is right. This has nothing to do with Cygwin itself, but > with the Mingw stuff. This is probably best discussed on a Mingw.Org > ML. > Alternatively you could try to build this with the mingw-w64 cross > toolchains and if it doesn't work, discuss it on their MLs. > > > Corinna > No, it's not - it compiles and runs as it should when I use the Mingw directly. It's what I'm using now. I was just trying to give back a little by reporting a problem. Thanks anyway. -- 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