This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mingw build problem for TCL

On 19/07/2013 5:55 PM, Corinna Vinschen wrote:
On Jul 19 11:47, Jonathan Kelly wrote:

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

$ ./tclsh86.exe

$ echo $?
Does it run correctly when started from CMD?


Not. Comes up with error "The application was unable to start correctly (0xc0000022).

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]