public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Tcl doesn't build out of src repository on cygwin
@ 2004-10-13 13:24 Dave Korn
  2004-10-13 14:02 ` Corinna Vinschen
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Korn @ 2004-10-13 13:24 UTC (permalink / raw)
  To: cygwin



  Should it?  I see loads of error messages caused by a bad table of static
initialisers in src/tcl/win/tclWin32Dll.c.


    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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Tcl doesn't build out of src repository on cygwin
  2004-10-13 13:24 Tcl doesn't build out of src repository on cygwin Dave Korn
@ 2004-10-13 14:02 ` Corinna Vinschen
  2004-10-13 14:12   ` Dave Korn
  2004-12-14 18:10   ` Bernhard Walle
  0 siblings, 2 replies; 7+ messages in thread
From: Corinna Vinschen @ 2004-10-13 14:02 UTC (permalink / raw)
  To: cygwin

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)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Tcl doesn't build out of src repository on cygwin
  2004-10-13 14:02 ` Corinna Vinschen
@ 2004-10-13 14:12   ` Dave Korn
  2004-10-13 14:15     ` Corinna Vinschen
  2004-12-14 18:10   ` Bernhard Walle
  1 sibling, 1 reply; 7+ messages in thread
From: Dave Korn @ 2004-10-13 14:12 UTC (permalink / raw)
  To: 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Tcl doesn't build out of src repository on cygwin
  2004-10-13 14:12   ` Dave Korn
@ 2004-10-13 14:15     ` Corinna Vinschen
  2004-10-13 17:47       ` Dave Korn
  0 siblings, 1 reply; 7+ messages in thread
From: Corinna Vinschen @ 2004-10-13 14:15 UTC (permalink / raw)
  To: cygwin

On Oct 13 15:01, Dave Korn wrote:
> > From: cygwin-owner On Behalf Of Corinna Vinschen
> >   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?

DDT

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Tcl doesn't build out of src repository on cygwin
  2004-10-13 14:15     ` Corinna Vinschen
@ 2004-10-13 17:47       ` Dave Korn
  0 siblings, 0 replies; 7+ messages in thread
From: Dave Korn @ 2004-10-13 17:47 UTC (permalink / raw)
  To: cygwin

> -----Original Message-----
> From: cygwin-owner On Behalf Of Corinna Vinschen
> Sent: 13 October 2004 15:11

> On Oct 13 15:01, Dave Korn wrote:
> > > From: cygwin-owner On Behalf Of Corinna Vinschen
> > >   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?
> 
> DDT

  Mess up other stuff in the same build, or change the meaning of header
files or something, would it?  Ok, fair enough.  I'll stick with the
locally-modded C files.

    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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Tcl doesn't build out of src repository on cygwin
  2004-10-13 14:02 ` Corinna Vinschen
  2004-10-13 14:12   ` Dave Korn
@ 2004-12-14 18:10   ` Bernhard Walle
  2004-12-15  9:09     ` Corinna Vinschen
  1 sibling, 1 reply; 7+ messages in thread
From: Bernhard Walle @ 2004-12-14 18:10 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote:
> 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)

do you know when the fixed version of w32api will be in the Cygwin 
"release" (that suff you get with setup.exe)?


Regards,
Bernhard


--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Tcl doesn't build out of src repository on cygwin
  2004-12-14 18:10   ` Bernhard Walle
@ 2004-12-15  9:09     ` Corinna Vinschen
  0 siblings, 0 replies; 7+ messages in thread
From: Corinna Vinschen @ 2004-12-15  9:09 UTC (permalink / raw)
  To: cygwin; +Cc: Earnie Boyd

On Dec 14 18:58, Bernhard Walle wrote:
> Corinna Vinschen wrote:
> >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)
> 
> do you know when the fixed version of w32api will be in the Cygwin 
> "release" (that suff you get with setup.exe)?

No, the win32 API is packed separately by the MingW team.  Earnie,
do you have a deadline for a new w32api version?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-12-15  9:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-13 13:24 Tcl doesn't build out of src repository on cygwin Dave Korn
2004-10-13 14:02 ` Corinna Vinschen
2004-10-13 14:12   ` Dave Korn
2004-10-13 14:15     ` Corinna Vinschen
2004-10-13 17:47       ` Dave Korn
2004-12-14 18:10   ` Bernhard Walle
2004-12-15  9:09     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).