delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/19/12:54:58

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Ft
X4PGQkePKGAGldxa/FJp/WiddviYl6ukmxARR5O96QQ7z6y+UUhdi7N0ECtefo2s
9uh+hK6ArpvUtRTNLV1Yw0Vc9hGiqUpjfoaQmogiFSb52mZwZp316PnpnyEUaZhp
0muPjumQrd41FnSr/2jKYu/yCg6/MxLFS8pz6pjJ8=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=psCFZVSa
wLvOQ1a68yaBMKW3Gak=; b=O3VwfaS2s71AjWbT46lo+IRL3iYdhw/6VD9ucmVH
C4qBzMKibIdrKKJIf6oW6lfFCJwG8KtBTy3Ebwr2bRNnqI+iqFUElbQU7KJNS4P1
1B/2dS5cWuEsLn4FfypI1+gYjdhS5rGozIv6AGzWH6C+J2Fvf61A7Xopgvng1szz
Ixk=
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
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS,TW_YG autolearn=no version=3.3.1
MIME-Version: 1.0
X-Received: by 10.229.184.1 with SMTP id ci1mr4323922qcb.88.1374252872407; Fri, 19 Jul 2013 09:54:32 -0700 (PDT)
In-Reply-To: <20130719075528.GA10849@calimero.vinschen.de>
References: <51E89AC4 DOT 2030405 AT fastmail DOT fm> <20130719075528 DOT GA10849 AT calimero DOT vinschen DOT de>
Date: Fri, 19 Jul 2013 12:54:32 -0400
Message-ID: <CA+sc5m=CkhYsg0nMx6x=Z3Qy9=7A_qdZFA0ZE5Qvb3AZa94zLQ@mail.gmail.com>
Subject: Re: Mingw build problem for TCL
From: Earnie Boyd <earnie AT users DOT sourceforge DOT net>
To: cygwin AT cygwin DOT com

On Fri, Jul 19, 2013 at 3:55 AM, 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?

Probably not.  I'm not surprised of issues with newer tcl versions.
Jonathan should move the discussion to
mingw-users AT lists DOT sourceforge DOT net or wait for the MinGW 4.0 release or
both.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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