delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/05/01:34:06

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <000f01c05e85$7248aa40$da60fea9@mitsu5>
From: "Mitsuo Igarashi" <mitsu5 AT ruby DOT famille DOT ne DOT jp>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: failure to build Tcl8.4a2(not 8.3.2) by Cygwin on Win98
Date: Tue, 5 Dec 2000 15:34:19 +0900
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

|You assumed wrong.  I've built the unix source of tcl 8.4a1 and tk 8.4a1.
Of
|course the tk executable requires the X11 libraries and headers from
|Cygwin-Xfree and then requires an X server; but, it builds and works. ;)
|
|> The current release (8.3.2) of Tcl/Tk
|> does not compile "out of the box" with Cygwin. I am
|> very interested in getting the fixes needed to
|> compile Tcl under Cygwin into the 8.4 release.
|
|The UNIX source does build.  CC='gcc -mno-win32'.
|
|> It should not be all that hard, it looks like
|> some problems with MS specific #includes and
|> use of __try which cygwin does not like.
|>
|
|Oh,  yes those MS extensions.  Anyone up to adding the code necessary to
GCC to
|have these features working?


From these comments and the Readme of Tcl8.4a2/win directory which follows,
I have tried to build Tcl8.4a2 again.

>2. Compiling (Readme of Tcl8.4a2/win)
>----------------
>
>If you are building with Cygwin, you can use the configure script
>that lives in the win subdirectory. The Cygwin based configure/build
>process works just like the UNIX one, so you will want to refer to
>../unix/README for available configure options.

It seems to me that Cygwin can build Tcl8.4a2.
However, I get the same error message.
>tclWin32Dll.c:348: `__try' undeclared (first use in this function)
>tclWin32Dll.c:348: (Each undeclared identifier is reported only once
>tclWin32Dll.c:348: for each function it appears in.)
>tclWin32Dll.c:348: parse error before `{'
>tclWin32Dll.c: At top level:
>tclWin32Dll.c:351: parse error before `1'
>tclWin32Dll.c:351: warning: return-type defaults to `int'
>tclWin32Dll.c: In function `__except':
etc.

My configure methods are:
1)
% cd /usr/local/src/Tcl8.4a2/win
% ./configure --enable-gcc --enable-shared
2)
% CC='gcc -mno-cygwin' ./configure --enable-gcc --enable-shared
3)
% cd /usr/local/src/Tcl8.4a2/unix  :::(not win)
% CC='gcc -mno-win32' ./configure --enable-gcc --enable-shared

All get error messages.

----------=========---------
Mitsuo Igarashi
mitsu5 AT ruby DOT famille DOT ne DOT jp



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019