home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / tcl / 2467 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  5.2 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!pacbell.com!toad.com!zoo
  2. From: zoo@cygnus.com (david d 'zoo' zuhn)
  3. Newsgroups: comp.lang.tcl
  4. Subject: first TclTools release (Tcl & Tk using GNU configure)
  5. Message-ID: <31042@toad.com>
  6. Date: 24 Jan 93 10:12:50 GMT
  7. Sender: news@toad.com
  8. Distribution: world
  9. Organization: Cygnus Support -- +1 415 903 1434
  10. Lines: 126
  11. Nntp-Posting-Host: cirdan.cygnus.com
  12.  
  13.  
  14. Since Cygnus has developed some tools that require Tcl (that's another
  15. announcement to be made shortly), we have taken Tcl 6.5 and Tk 3.0 and put
  16. them under a GNU style configuration.  This make integration with a larger
  17. source tree much easier.  
  18.  
  19. This distribution is now available by anonymous ftp from cygnus.com:
  20.  
  21.    anonymous@cygnus.com:/pub/
  22.    -rw-rw-r--  1 66       1002         4253 Jan 24 10:08 tcltools-README
  23.    -rw-rw-r--  1 66       1002      1851209 Jan 24 10:07 tcltools-930124.tar.Z
  24.  
  25. and (hopefully) soon from barkley.berkeley.edu:/tcl/code.
  26.  
  27. Here is the tcltools-README file.
  28.  
  29. --------------------------------------------------------------------------------
  30.  
  31.                              Cygnus Tcl Tools
  32.                               Release-930124
  33.  
  34. This is the first public release of versions of Tcl 6.5 and Tk 3.0 that use
  35. the GNU automatic configuration mechanism, instead of the 'config' script
  36. in the baseline Tcl releases.
  37.  
  38. Advantages to this version include 
  39.  
  40. * support for separate source and object directories.  When using the
  41.   --srcdir option to configure, and using a make that properly supports the
  42.   VPATH mechanism (GNU make and SunPRO make are the only two that I know
  43.   of), you can configure the object code directory in a separate location
  44.   from the source code.
  45.  
  46. * greater portability (this release works out-of-the-box on some machines
  47.   that the baseline Tcl release didn't).  It also is more likely to work on
  48.   machines that Tcl has not yet been ported to.  It also doesn't use a csh
  49.   shell script, for those machines that don't have csh.
  50.  
  51. * a good framework exists for adding additional packages.  Expect and
  52.   Extended Tcl will soon be added, and other developers are welcome to
  53.   start from this base.
  54.  
  55. * compatibility with trees of GNU software (I currently maintain a 65Mb
  56.   source tree of GNU software, all of which can be configured and installed
  57.   from a single command).
  58.  
  59.  
  60. This release has been tested on the following platforms:
  61.  
  62.   HP 9000/720 running HP/UX 8.07
  63.   HP 9000/320 running HP/UX 8.00
  64.   SGI Iris running Irix 4.0.1
  65.   DECstation 3100 running Ultrix 4.2
  66.   Sun 4 running Solaris 2.1
  67.   Sun 4 running SunOS 4.1.1
  68.   Sun 3 running SunOS 4.1.1
  69.   a PC running SCO ODT 2.0, aka SCO Unix 3.2v4
  70.  
  71. If you like this release, and would like to see this in the Tcl/Tk
  72. baseline, please let me know.  I will forward comments on to Dr.
  73. Ousterhout.  
  74.  
  75. If you have any questions or comments, please let me know.  I'll do what I
  76. can to answer them.
  77.  
  78.   david d 'zoo' zuhn |    
  79.     cygnus support   |    And if you're never lost, how can you be found?     
  80.     zoo@cygnus.com   |    
  81.  
  82.  
  83.  
  84.                          ************************
  85.  
  86.                         *****  INSTALLATION  *****
  87.  
  88.                          ************************
  89.  
  90. To build this software, first unpack the tar file.  If you don't wish to
  91. use separate source and object directories, just type:
  92.  
  93.   % cd tcltools-930124
  94.   % ./configure  
  95.   [ wait while it configures ]
  96.   % make all install
  97.  
  98. If you are on a machine where 'configure' doesn't recognize the machine
  99. type, try using the same configure name that you would use for GCC or GDB. 
  100.  
  101. Various options to configure exist, including --srcdir, which is used to
  102. setup for separate source and object directories:
  103.  
  104.   % tar Zxf tcltools-930124.tar.Z
  105.   % mkdir hp700
  106.   % cd hp700
  107.   % ../tcltools-930124/configure -srcdir=../tcltools-930124
  108.   % make all install
  109.  
  110. As well as the --prefix and --exec_prefix options, which are used to
  111. determine where in the file system the software is to be installed.  The
  112. default is for everything to be installed under /usr/local.  Different
  113. values may be specified for --prefix and --exec_prefix, for separating
  114. architecture dependent-files from architecture-independent files.
  115.  
  116. For example, my working directory for this release looks something like
  117. this:
  118.  
  119.   % ls
  120.   README     hp300/     rs6000/    sco/       solaris2/  sun4/
  121.   tcltools/  hp700/     pmax/      sgi/       sun3/      
  122.  
  123. Where tcltools is the source directory (tcltools-930124 in this release),
  124. and the other directories are for each architecture.  These directories are
  125. all configured like this:
  126.  
  127.   % cd sun4; configure --prefix=/abc/zoo/Tcl -exec_prefix=/abc/zoo/Tcl/H-sun4
  128.   % cd sun3; configure --prefix=/abc/zoo/Tcl -exec_prefix=/abc/zoo/Tcl/H-sun3
  129.   % cd sgi; configure --prefix=/abc/zoo/Tcl -exec_prefix=/abc/zoo/Tcl/H-sgi
  130.   % cd pmax; configure --prefix=/abc/zoo/Tcl -exec_prefix=/abc/zoo/Tcl/H-pmax
  131.   % cd sco; configure --prefix=/abc/zoo/Tcl -exec_prefix=/abc/zoo/Tcl/H-sco
  132.   
  133. Each of these 'configure' commands was run on the machine that the software
  134. is to be built on (eg, the sco configure was run on the sco machine).  Once
  135. all of these toolchains have been built and installed, if I have
  136. /abc/zoo/Tcl/H-$host/bin in my $PATH, I get the right tools.  But all of
  137. the library files and such that can be shared between architectures are not
  138. duplicated. 
  139.