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 :content-type:content-transfer-encoding; q=dns; s=default; b=vU3 f8Uj2WZBZgCUOa91G5qku6kCoR5Jpuq8HYTrNvPk8U8YutcWEcUhfLrIC8SlSAjM eCEZ4eR9iztU7f4xX0O3tfPOP3PJgaePwlUJ6HAliwa2zZ44PjqUSyhiAoBx4CJ5 xUzXiy2Z1/+ZjjFrEGsE9zovYbyYhZyET6IkoZxc= 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 :content-type:content-transfer-encoding; s=default; bh=BXjrOpz6i P3NhkgfZ1D2H2k8Uxg=; b=cjS2Xohn5/zlurKan1fw8KSOj0D1I/bRwOTAmrBGp 34TEvl4A6pQeIh/2/M3EDd1BU/BMDNEEFzPUJxnYk4879M5wE0s1ucFs9n5feuUM Ge4yOBCxnsw8M91X4bbRHukzr+iF99ZDo2W1MNyJDJ4s0oayWx5qVZh9r+l8F8a6 sM= 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=1.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS,TW_YG autolearn=no version=3.3.1 Message-ID: <51E89AC4.2030405@fastmail.fm> Date: Fri, 19 Jul 2013 11:47:48 +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: Mingw build problem for TCL Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 -- 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