home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / dev / gcc / gcc263_install.readme < prev    next >
Encoding:
Text File  |  1995-04-27  |  4.4 KB  |  123 lines

  1. Short:    Gcc installer script
  2. Author:   jochen.wiedmann@zdv.uni-tuebingen.de
  3. Uploader: jochen.wiedmann@zdv.uni-tuebingen.de
  4. Type:     dev/gcc
  5.  
  6.  
  7. About GCC-Install
  8. =================   
  9.  
  10. This archive contains an installer script for the GNU C compiler. It
  11. may be used independent from the version you want to install or
  12. deinstall.
  13.  
  14. This file should replace the existing installer script, which is known
  15. to be buggy (sorry) and lacks some features which seem to me to be
  16. rather important, considering all those questions which would never
  17. be asked, if people would use this script. GCC-Install's new features
  18. are
  19.  
  20.     - does not depend on external files, textfiles that should
  21.       be created are contained in the script.
  22.     - can make gcc to use the Commodore OS headers without copying
  23.       them to GNU:os-include
  24.     - can be used for deinstallation or reconfiguration only
  25.  
  26. I beg anyone downloading gcc, to download this file too. Try it.
  27. Currently one cannot expect it to be more than a beta version, but
  28. replacing it will be lots easier than replacing the complete gcc
  29. archive. Let me know, if you find any problems or don't like
  30. something. My emal address is
  31.  
  32.     jochen.wiedmann@zdv.uni-tuebingen.de
  33.  
  34.  
  35.  
  36. GCC-Install behaves completely different, depending on whether an assign
  37. GNU: exists. If it does, the script opens a window on startup, which
  38. allows to switch between the choices
  39.  
  40.     1) Deinstall existing GNU C version
  41.     2) Install and configure new version
  42.     3) Configure existing version
  43.     4) All of the above
  44.     5) Exit
  45.  
  46. If no assign GNU: exists, this window is suppressed and choice 2) is
  47. assumed silently.
  48.  
  49.  
  50. 1) Deinstalling existing GNU C version
  51. --------------------------------------
  52.  
  53. The user may select a directory with the version to deinstall (default
  54. GNU:). Deinstallation is done in one of two possible ways:
  55.  
  56.     a) Complete deinstallation
  57.     b) Partial deinstallation
  58.  
  59. Complete deinstallation means to remove the complete directory (except
  60. for directories which are in use, for example GNU:bin aka bin:), partial
  61. deinstallation will remove only lib/gcc-lib.
  62.  
  63.  
  64. 2) Installing a new GNU C version
  65. ---------------------------------
  66.  
  67. The user may select a directory which will be the parent drawer of
  68. GNU:. A subdrawer "gnu" will be created, from now on being referred
  69. as GNU:. (Sorry for those of you which have more than one version of
  70. GNU C installed, but the name "gnu" is fixed in the LhA archives.)
  71.  
  72. Installation begins with unpacking the archives. The user may select
  73. the archives he wants to be unpacked to GNU:. If the machine is
  74. equipped with a 68020 or better, the user will be asked, if he wants
  75. to use the 020 binaries.
  76.  
  77. Some files are missing in the archives: Those which may be installed
  78. as links to other files. The user is asked if he wants to use links
  79. (hard links now, usually bin: will reside on only one partition and
  80. soft links *do* make problems.) or copy the files.
  81.  
  82. If the 020 binaries have been installed, the installation ends with
  83. asking the user, if he wants to rename gcc-020 to gcc, g++-020 to
  84. g++ and so on. Finally the installer script continues with step 3
  85. to configure the new GNU C installation.
  86.  
  87.  
  88. 3) Configuring a GNU C version
  89. ------------------------------
  90.  
  91. Configuration starts with asking the user for environment variables
  92. he wants to copy from GNU:envarc to envarc:.
  93.  
  94. The user is asked, if he has the Commodore OS headers. If this is the
  95. case, he may select the directory where they are installed and the
  96. specs file will be modified to use the option "-I GNUINCLUDE:". (The
  97. assign will be created from within GNU:s/User-Startup.) Note, that
  98. GNU:s/User-Startup can be modified, so that GNUINCLUDE: is a
  99. multiassign.
  100.  
  101. Finally the s:User-Startup is modified, so that it creates an assign
  102. GNU: and executes GNU:s/User-Startup. This file will be created (it
  103. is contained in the installer script, an external file is no longer
  104. being used.)
  105.  
  106. Existing specs and GNU:s/User-Startup files are considered obsolete.
  107. A directory GNU:obsolete is created, where the old versions will
  108. be copied to.
  109.  
  110.  
  111.     Jochen Wiedmann
  112.  
  113.  
  114. ============================= Archive contents =============================
  115.  
  116. Original  Packed Ratio    Date     Time    Name
  117. -------- ------- ----- --------- --------  -------------
  118.    32646    8660 73.4% 11-Apr-95 16:29:54  GCC-Install/GCC-Install
  119.     1214     514 57.6% 11-Apr-95 16:02:58  GCC-Install/GCC-Install.info
  120.     4066    1699 58.2% 11-Apr-95 16:37:56  GCC-Install/README
  121. -------- ------- ----- --------- --------
  122.    37926   10873 71.3% 12-Apr-95 00:12:20   3 files
  123.