Skip to content
Tcl Source Code View Ticket
Login

View Ticket

VC build under cygwin is broken

Closed / Fixed705912ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-18 22:28:47
The usual ./configure && make doesn't work anymore,
when building with MS VC6 and cygwin under Windows.
(updated cygwin developing tools for autoconf 2.57)

Usual operation:
c:\vcvars32.bat
cygwin.bat
$ cd tcl/win
$ CC=cl ./configure --prefix=/cygdrive/c/tclbuild/
$ make; make install

Problem:
configure looks for an install-sh script, that is
missing from the win directory
Solution: 
Copy the install-sh script from the unix directory

Problem:
configure tries to invoke /bin/bash ./config.sub ,
config.sub doesn't exist
Workaround:
touch config.sub

Problem:
configure tries to use config.guess, config.guess does
not exists
Workaround:
touch config.guess

Problem:
configure doesn't recognize the build platform
Workaround:
specific ./configure -build cygwin

I consider this broken, there is a makefile.vc, but
./configure && make && make install should continue to
work as it did since at least 8.3.
davygrvyplain2003-03-19 06:53:46
Logged In: YES 
user_id=7549

or
  nmake -f makefile.vc
as a workaround.
mdejongplain2003-03-19 10:28:14
Logged In: YES 
user_id=90858

This is an autoconf upgrade issue that has to do with the
AC_CYGWIN macro. It should be fixed now, please reopen
this bug if you are still having problems building.
Log in (anonymous is fine) to add a comment.