home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9787 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  4.4 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!po.CWRU.Edu!mal11
  2. From: mal11@po.CWRU.Edu (Matthew A. Lewis)
  3. Newsgroups: comp.os.linux
  4. Subject: WANT GCC? FORGET FAQ.GCC AND README?? READ THIS FIRST!!!!
  5. Date: 4 Sep 1992 00:22:30 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 138
  8. Message-ID: <186a86INNcsb@usenet.INS.CWRU.Edu>
  9. Reply-To: mal11@po.CWRU.Edu (Matthew A. Lewis)
  10. NNTP-Posting-Host: thor.ins.cwru.edu
  11.  
  12.  
  13.  
  14.  
  15. Since it seems that there aren't any installation docs for us
  16. lay people when it comes to installing GCC 2.2.2d, I figured that
  17. I would write this to help people who are having and will have
  18. problems with the installation.
  19.  
  20. First, I will assume you have mtools installed. If not, then do. Email
  21. me for some tips if you need help.
  22.  
  23. You need to get the following files by anonymous ftp from tsx-11.mit.edu.
  24.  
  25. binutils.tar.Z
  26. 097pl1inc.tar.Z
  27. 2.2.2ddb.tar.Z
  28. 2.2.2dlib.tar.Z
  29. 2.2.2dmisc.tar.Z
  30. install.2.x
  31.  
  32. Forget README and FAQ.
  33. THEY JUST AREN'T WORTH THE TIME READING!!!!!!!!!!!
  34.  
  35. You can find the above in /pub/linux/packages/GCC
  36.  
  37. You will also need 097.tar.Z (or something like that) from 
  38. /pub/linux/sources/system
  39.  
  40. This is the linux source code. Get the patches if you want them.
  41. (I personally haven't figured out what to do with them. :) )
  42.  
  43. So now you have these files. Hopefully they were transfered without any
  44. corruption. Unfortunately they are VERY large, so I would get corrupted
  45. ones about every 5th try. And you won't find this out until you're in
  46. LINUX and then you'll have to reboot into DOS. Major frustration.
  47.  
  48. BTW, these files should be in a DOS dir and they WILL take up alot of memory.
  49. I think about 5MB.
  50.  
  51. Now reboot into LINUX and login as root. Now follow these commands.
  52.  
  53. cd /
  54. mcd c:\<the dos dir with the above files>
  55. mcopy c:*.* .
  56.  
  57. That should get all those files into the LINUX root dir.
  58. Now, change their names using the mv (move) command.
  59.  
  60. mv <fucked up dos filename now in linux>  <new filename>
  61.  
  62. Do it according to these transformations:
  63. install.2.x  --------->   install.2.x
  64. binutils.tar.Z ------->   binutils.tar.Z
  65. 2.2.2ddb.tar.Z ------->   2ddb.tar.Z
  66. 2.2.2dlib.tar.Z ------>   2dlib.tar.Z
  67. 2.2.2dmisc.tar.Z ----->   2dmisc.tar.Z
  68. 097pl1inc.tar.Z ------>   097inc.tar.Z
  69. 097.tar.Z ------------>   097.tar.Z
  70.  
  71. remember that these names on the left will be REALLY screwed up!!!!
  72. keep track of them.........
  73. The reason that we have to do all this crap is because LINUX has a
  74. limitation on length of filenames. UNIX doesn't have them. 
  75. DOES ANYONE KNOW IF THIS CAN BE CHANGED??????
  76.  
  77. Now we need to install the kernel sources. 
  78.  
  79. cd /usr
  80. mkdir src
  81. cd src
  82. mkdir linux
  83. cd /
  84. cp 097.tar.Z /usr/src/linux
  85. cd /usr/src/linux
  86. uncompress 097.tar.Z
  87. tar -xvf 097.tar
  88.  
  89. That should make some file and directories. 
  90. now do this.
  91.  
  92. cd /
  93. cp 097inc.tar.Z /usr/src/linux
  94. cd /usr/src/linux
  95. uncompress 097inc.tar.Z
  96. tar -xvf 097inv.tar
  97.  
  98. More source files are made.
  99.  
  100. NOW WE ARE READY TO DO WHAT IT DOES SAY IN README AND GCC.FAQ
  101. Fortunately, it's only one line.
  102.  
  103. Go to the root directory.
  104.  
  105. cd /
  106. sh install.2.x -v 2d /usr/src/linux
  107.  
  108. The program will ask you about a math coprocessor. Answer accordingly.
  109. Eventually the program will barf looking for some file in a dir
  110. like /usr/lib..../2d/......./<some file>
  111.  
  112. The problem is with this 2d directory, an artifact of this process of 
  113. dealing with LINUX filename length restrictions.
  114.  
  115. Change directories to the dir ABOVE 2d.
  116.  
  117. do an 'ls' command.
  118. all you should see is 2.2.2d
  119.  
  120. do this
  121.  
  122. mv 2.2.2d 2d
  123. cd /
  124. sh install.2.x -v 2d /usr/src/linux
  125.  
  126.  
  127. This should either make it all the way through the installation script, or
  128. it will barf on another file in some subdirectory of a 2d directory.
  129.  
  130. Find it and change 2.2.2d to 2d like about and run sh again.   
  131.  
  132. This will put you where I am. With a ton of files on my harddrive (which
  133. ones can I erase?????????). The compiler gcc in /usr/bin. And some
  134. instruction to remove some lines from the LINUX kernel Makefile and
  135. then do a make dep.
  136.  
  137. unfortunately....I can't find make. And I haven't an editor. My vi
  138. doesn't work yet. 
  139.  
  140. BTW, if you don't like these instruction, screw you. It worked for me :)
  141.  
  142. Hopefully this will motivate someone (in authority?) to make this
  143. installation process a little easier.
  144.  
  145. -- 
  146. MaThiEu a. LeWis      "There is no middle ground/Or that's how it seems/For 
  147. Thieves Like Us        us to walk or to take/Instead we tumble down/Either
  148. mal11@po.cwru.edu      side left or right/To love or to hate."
  149.                     -A Strange Kind of Love
  150.