home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10283 < prev    next >
Encoding:
Text File  |  1992-09-09  |  5.9 KB  |  128 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cs.utexas.edu!torn!utgpu!utstat!rafal
  3. From: rafal@utstat.uucp (Rafal Kustra (summer student))
  4. Subject: Re: gcc install doc
  5. Message-ID: <1992Sep9.142352.10701@utstat.uucp>
  6. Organization: University of Toronto, Dept. of Statistics
  7. References: <1597@lysator.liu.se>
  8. Date: Wed, 9 Sep 1992 14:23:52 GMT
  9. Lines: 117
  10.  
  11. In article <1597@lysator.liu.se>  writes:
  12. >
  13. >Regarding the gcc install files.  I have read the README, as well as
  14. >all releasenotes, and the FAQ.  Most of the contents seem directed
  15. >to unix gurus, and treats mainly compiler options or if it is ANSI
  16. >compliant.  I just want a gcc so I can compile and install programs
  17. >I find in the archives, and maybe later on adjust programs I have
  18. >slightly.  A C compiler seems to be essential on a unix system,
  19. >that's why I want it.  I might get the fortran to c converter,
  20. >because I have written short programs in fortran before.  I am NOT a
  21. >programmer.  I DO NOT know C.  I do not have the time to learn all
  22. >about C now. If I cannot get gcc to work without much perspiration, I
  23. >will just kick it out - and never learn or use C...    Most of the
  24. >people who have replied to me have just said "read the README!".  But
  25. >the README does NOT answer the questions I have - if it does, please
  26. >point i out to me, and I will apologize for my stupidity.
  27. >
  28. >By the way, I managed to boot and install linux without much trouble.
  29. >I managed to get mtools on line, and after that emacs, and ka9q.
  30. >Thanks to all those kind souls who provided those packages,
  31. >especially to Jim Winstead, as I had very few problems in that
  32. >installation!  This should mean I am not a completely stupid asshole?
  33. >
  34. >What the gcc README does not tell me:
  35. >
  36. >-  does not give me any information on what to do about the fact that
  37. >   linux truncates filenames longer than 14 characters.  The install
  38. >   script does not seem to complain about it, when I tested it, now.
  39. >   But there should definetly be a remark there about this.
  40. No, you should'n worry about it if you get your files
  41. onto unix in their original names (minus extra chars).
  42. Kernel takes care of that when script asks for big f-name
  43. it truncates it the same way as it did when you untar it
  44. there. Problem may arise if you go thru DOS. Then you
  45. must take care that upon getting it to Linux you should
  46. get them back to original names (or first 14 chars of
  47. that).
  48. >-  where files will end up (new directories, plus most important what
  49. Thirst You must (should) have gcc 2.2.2 instaled.
  50. As far as my memory serves me:
  51. 1) include files will go into /usr/inlude plus subdirs.
  52. 2.2.2 include will be erased. You should take care about
  53. setjmp.h as described in release (or FAQ) note.
  54. 2)libraries will go to /usr/lib/gcc-lib/i386-linux/2.2.2d
  55. You should also get include, jump and shared subdirs
  56. there.
  57. files from binutils go into /usr/bin
  58. >   files go into existing directories).
  59. >-  how to uninstall gcc
  60. ???
  61. >-  what procedures the install script actually performs:    simply
  62. >   untar all archives, or does it do something else?
  63. It untars it puts it into rights places, removes old
  64. compiler( ie its includes and binaries) links
  65. /usr/src/linux/include with /usr/include/linux, creates
  66. /usr/lib/gcc-lib/i386-linux/2.2.2d/specs containing
  67. ver #. 
  68. >-  does the install script actually check that all files are where
  69. >   they should, that it works?
  70. No, I dont think so. It checks for dirs. Some of them
  71. should'nt be there (like /usr/lib/gcc-lib/i386-linux/2.2.2d) 
  72. so it will fail on its existance with error message. It
  73. doesn't check if files are in right places 'cause it puts
  74. them there. But you should read all docs (readme, FAQ and
  75. all 2.xx realease notes) couple of times before
  76. installing it. You must have .97plx sources on line and
  77. you should have gcc 2.2.2 installed.(you will need it
  78. anyway).
  79. >-  I don't understand the final remarks in the install file.
  80. >
  81. >   Please get rid of all the -"nostdinc -I" from the Makefiles in
  82. >   kernel sources and then do a fresh "make dep".
  83. >
  84. >   What is -nostdinc ???   make dep  on my linux just gives me
  85. >   make: command not found
  86. -nostdinc is a flag that tells compiler (actually a
  87. preprocessor) not to look in std include dirs (defined
  88. inside compiler) but in dirs specifide on command line.
  89. You should remove it from Makefiles (actually only one in
  90. /usr/src/linux) because include files from compiler and
  91. the kernel are now consistent. 
  92. Make is a utility that automates compiling large (and
  93. small) projects which come in number of source files. You
  94. should have it in /bin or /usr/bin on root disk. If not
  95. look for it in tsx-11.mit.edu (pub/linux/binaries/usr.bin
  96. I think).
  97. Make reads Makefile for instructions. You should learn
  98. how to use it even if you dont plan on learning C.Almost
  99. all software in Unix world comes in sources with
  100. makefiles. Read man make on your Unix machine.
  101. >-  where I find gdb
  102. Should be on tsx-11. Maybe you can wait. Someone is
  103. getting ver 4.6 to compile.
  104. >-  where and how do I find a "make" to install
  105. >-  what do I have to do if I decide to move my kernel source to
  106. >   another directory
  107. why would you? But then it is no problem. Just mv it and
  108. create a symlink form /your kernel src/include to
  109. /usr/include/linux if you already installed gcc 2.2.2d or
  110. tell instal.2.x right directory. Also you will have to
  111. tell it to ps package - read readme there.
  112. >
  113. >I do not want to have to become a unix guru just to use linux.
  114. >Then I could as well do something productive, like program an old IBM
  115. >360 with punch cards :-)
  116. >
  117. >This was not a flame, just a comment.  I appreciate that HJ has spent
  118. >effort on the gcc compiler.  I simply didn't get it working anyway.
  119. >I volunteer to improve the install doc, IF AND ONLY IF, I get to the
  120. >point that understand (or think I understand) how it works.
  121.  
  122.                 Rafal
  123. -- 
  124. /|| Numbers exist only in our minds. There is no physical entity that
  125.  ||_is_ number 1. If there were, 1 would be in a place of honor in 
  126.  || some great museum of science, and past it would file a steady
  127. ==== stream of mathematicians gazing at 1 in wonder and awe.
  128.