This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Tcl doesn't build out of src repository on cygwin
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 13 Oct 2004 15:01:45 +0100
- Subject: RE: Tcl doesn't build out of src repository on cygwin
> -----Original Message-----
> From: cygwin-owner On Behalf Of Corinna Vinschen
> Sent: 13 October 2004 14:53
> On Oct 13 13:15, Dave Korn wrote:
> >
> >
> > Should it? I see loads of error messages caused by a bad
> table of static
> > initialisers in src/tcl/win/tclWin32Dll.c.
>
> It happens because DLLIMPORT is used a lot in w32api which is only
> conditionalized with __INSIDE_CYGWIN__. That's solved in w32api in
> CVS or in recent snapshots. Or (but that's ugly and not actually
> recommended, use at your own risk) use #define __INSIDE_CYGWIN__
> at the beginning of the affected files (tclWin32Dll.c and tkWinX.c
> AFAIK)
Or use CFLAGS='-D__INSIDE_CYGWIN__ -g -O2' on the command line,
presumably?
Thanks Corinna. I wasn't sure if there was a better list to bring this up
on, since Tcl isn't a sourceware project; then again, since the build
failure was cygwin-specific, I guess it was on-topic anyway.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/