This is the mail archive of the cygwin@sources.redhat.com 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] |
|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@ruby.famille.ne.jp -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |