This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: tcl/tk failure using -mno-cygwin


Paul Thiessen wrote:
> 
> Has anyone managed to successfully build programs that make tk/tcl calls,
> using the -mno-cygwin linking? When I try to do so, I just get general
> protection faults in kernel32.dll. (Programs built and linked w/o
> -mno-cygwin, i.e., by default with cygwin libraries, work just fine.) I
> am using the latest full release of cygwin.
>   I assume this is because the tcl/tk libs shipped with cygwin were built
> with cygwin headers/libs, and fail when linked with mingw32 objects? Has
Quite likely.

> anyone managed to compile tcl/tk (preferably 8.0.5 or 8.1, but doesn't
> matter that much) using -mno-cygwin? Would you be willing to share
> binaries or patches?

You have three options:
* download Mumit Khan's binaries
* build it yourself with mingw32 (with Mumit's patches)
* use the official win32 tcl/tk distribution (you will need to get
import
libraries)

Regards,
Anders

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com