From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Roxborough To: Andy Hare Cc: Keith Seitz , Insight Mail list Subject: Re: Problems building TCL for insight on cygwin & win2k Date: Fri, 26 Oct 2001 14:51:00 -0000 Message-id: <3BD9DDDC.20B6EAAD@redhat.com> References: <089b01c15e64$563d4100$0100000a@dualbeast> X-SW-Source: 2001-q4/msg00208.html Hi Andy, this is going to sound strange, but you're missing the -mwin32 flag which should be automatically added to the command line. Your problem doesn't seem to be with setting CC="gcc -mwin32", but some how the -mwin32 and -mno-win32 flags are not being passed at the right time. Something is going wrong at configure time and the EXTRA_CFLAGS variable used to pass -m*win32 isn't being set or isn't being passed. They should be present in /tcl/cygwin/configure.in (grep for mno-win32) and /tcl/win/configure.in (grep for mwin32). Also check the value of EXTRA_CFLAGS in /tcl/unix/tclConfig.sh and /tcl/win/tclConfig.sh. These might yield some clues to the problem. Ian. Andy Hare wrote: > > Keith, > > I have now re-configed into an empty directory and re-built without > the -mwin32 flags. I now get the errors shown below: > > gcc -c -g -O2 -Wall -Wconversion -I"/GNU-Source-Code/src/tcl/win/../generic > " -I"/GNU-Source-Code/src/tcl/win" -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME= > 1 -DHAVE_TZNAME=1 -DBUILD_tcl