From 668900314480734934af1de71777c2c907875c43 Mon Sep 17 00:00:00 2001 From: mdejong Date: Sat, 9 Mar 2002 00:49:03 +0000 Subject: * win/README: Update to indicate that Mingw 1.1 is required to build Tcl. Add section describing new msys based build process. Update Cygwin build instructions so users know where to find Mingw 1.1. --- ChangeLog | 7 +++++++ win/README | 42 +++++++++++++++++++++++++++++------------- 2 files changed, 36 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77ffbb5..00a7a3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-03-08 Mo DeJong + + * win/README: Update to indicate that Mingw 1.1 is + required to build Tcl. Add section describing new + msys based build process. Update Cygwin build + instructions so users know where to find Mingw 1.1. + 2002-03-08 Jeff Hobbs * win/tclWinFCmd.c (DoCopyFile): correctly set retval to TCL_OK. diff --git a/win/README b/win/README index 12edd44..f25eac4 100644 --- a/win/README +++ b/win/README @@ -1,6 +1,6 @@ Tcl 8.4 for Windows -RCS: @(#) $Id: README,v 1.25 2002/03/04 23:26:03 hobbs Exp $ +RCS: @(#) $Id: README,v 1.26 2002/03/09 00:49:05 mdejong Exp $ 1. Introduction --------------- @@ -18,24 +18,38 @@ when compiling Tcl extensions that will be dynamically loaded. 2. Compiling Tcl ---------------- -In order to compile Tcl for Windows, you need the following items: +In order to compile Tcl for Windows, you need the following: Tcl 8.4 Source Distribution (plus any patches) + and + Visual C++ 5 or newer - or + or + + Msys + Mingw 1.1 + + http://prdownloads.sourceforge.net/tcl/msys_mingw1.zip + + This Msys + Mingw download is the minimal environment + needed to build Tcl/Tk under Windows. It includes a + shell environment and gcc. The release is designed to + make it as easy a possible to build Tcl/Tk. To install, + you just download the zip file and extract the files + into a directory. The README.TXT file describes how + to launch the msys shell, you then run the configure + script in the tcl/win directory. - Cygwin 1.1 (See http://sources.redhat.com/cygwin) + or - Mingw (The gcc msvcrt 2.95.2-1 snapshot from http://www.mingw.org) + Cygwin 1.1 or newer (See http://sources.redhat.com/cygwin) - ftp://ftp.nanotech.wisc.edu/pub/khan/gnu-win32/mingw32/snapshots/gcc-2.95.2-1/mingw-msvcrt-20000203.zip - ftp://ftp.nanotech.wisc.edu/pub/khan/gnu-win32/mingw32/snapshots/gcc-2.95.2-1/binutils-19990818-1-msvcrt.zip - ftp://ftp.nanotech.wisc.edu/pub/khan/gnu-win32/mingw32/snapshots/gcc-2.95.2-1/gcc-2.95.2-1-msvcrt.zip + Mingw 1.1 (http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz) - Extract the contents of these zip files into /usr/local/mingw and - place /usr/local/mingw/bin at the front of your PATH env var. + Extract the contents of the archive file into /usr/local/mingw + and place /usr/local/mingw/bin at the front of your PATH env var + before running the configure script in the tcl/win directory. In practice, this release is built with Visual C++ 6.0 and the TEA @@ -51,13 +65,15 @@ example would be: There is also a Developer Studio workspace and project file, too, if you would like to use them. -If you are building with Cygwin, you can use the configure script -that lives in the win subdirectory. The Cygwin based configure/build +If you are building with Msys or Cygwin, you can use the configure script +that lives in the win subdirectory. The Msys or Cygwin based configure/build process works just like the UNIX one, so you will want to refer to ../unix/README for available configure options. An error will be generated by the configure script if you try to compile Tcl with the Cygwin version of gcc instead of the Mingw version. Check your -PATH if you get this error. +PATH if you get this error. Be aware that gcc will generate +lots of compile time warnings when building Tcl. Warnings are +not errors, so please don't file a bug report about them. In order to use the binaries generated by these makefiles, you will need to place the Tcl script library files someplace where Tcl can -- cgit v0.12