page started by TV
The official Tcl has had the Cygwin build support removed, because it was in need of someone to maintain it, and no one came forward. Users looking for the most simple way to build Tcl/Tk under Windows should take a look at Building Tcl/Tk with Mingw.
Recently trying out the latest CVS version of tcl 8.5, I found the standard distr. doesn't allow a cygwin build. That in itself is not disastrous, but I at least would like to use my installed cygwin env to build. That should be possible with mingw, which however is already present in the cygwin distr., usually.
The main trick was suggested by GPS, to make cygwin not use its normal gcc, but in fact the 9as (what?) I used before: -mno-cygwin option (under bash):
export CC="gcc -mno-cygwin" ./configure make
A comment on the outcome: I wanted to use the resulting tclsh without installing, which is problematic because it looks for a valid init.tcl . It appears that a make shell or make runtest is possible.
make test
works normally.
See also