home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9840 < prev    next >
Encoding:
Text File  |  1992-09-04  |  3.1 KB  |  77 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!organ.cis.ohio-state.edu!balasub
  3. From: balasub@organ.cis.ohio-state.edu (Krishna Balasubramanian)
  4. Subject: Re: questions: vi problem, make dep, filenames, libraries
  5. In-Reply-To: mal11@po.CWRU.Edu's message of 4 Sep 1992 01: 02:10 GMT
  6. Message-ID: <BALASUB.92Sep4111834@organ.cis.ohio-state.edu>
  7. Originator: balasub@organ.cis.ohio-state.edu
  8. Keywords: GCC
  9. Sender: news@cis.ohio-state.edu (NETnews        )
  10. Organization: Ohio State Computer Science
  11. References: <186ciiINNh60@usenet.INS.CWRU.Edu>
  12. Date: Fri, 4 Sep 1992 16:18:34 GMT
  13. Lines: 62
  14.  
  15.  
  16.     First, my vi is not working. I get the following error message.
  17.     "This termcap entry lacks the :up=: capability"
  18.     I imagine this is just an initializtion problem. What do I need to change?
  19.  
  20. The vi problem is termcap related ... you may have an old
  21. vi binary or an old /etc/termcap. You should get the termcap
  22. from the latest root disk.
  23.  
  24.     Second, I finished the GCC install script and it told me to do
  25.     a make dep with the kernel Makefile. What does make dep mean? Will
  26.     this recompile the kernel for me? How do I implement the patches in this?
  27.  
  28. go to /usr/src/linux or whatever and do
  29. make dep
  30. or is it make depend?
  31. This will add lines to the bottom of every Makefile on how the source
  32. files depend on varios header etc. You can then edit config.h and then
  33. type make to build the kernel.
  34. To apply patches you need a program called patch. read the man page
  35. for patch on any unix system.
  36.  
  37.     Next, what are the limitations on filename lengths and is there a way
  38.     to change it????
  39.  
  40. The standard linux/minix fs suppors 14char file names. You can get 
  41. efsprog.tar.Z and make yourself an extended file system if you like longer names.
  42. The short names is not a problem unless you have file names which
  43. begin with the same 14 characters or programs like compress which look
  44. for a specific .Z extension at the end. GNU tar for example does not care.
  45.  
  46.     Finally, after installing GCC I have all these libraries laying
  47.     around. Which ones do I need? It seems that /lib and /usr/lib are the
  48.     same. What is the deal?? 
  49.     Also, do I also have g++ now??? There is a g++-include directory.
  50.  
  51. /lib contains shared images ... files that are loaded by all the
  52. binaries compiled with shared libraries. These binaries will not 
  53. run without these files. You can use ldd to determine what
  54. shared libraries a binary depends on.
  55.  
  56. You can find out the gcc standard library search patch by compiling
  57. hello.c with the -v switch. 
  58. gcc -v hello.c.
  59. Also try gcc -v -jump hello.c, gcc -v -static hello.c, gcc -V 2.1 -v hello.c
  60. Some of these may give informative errors.
  61.  
  62. The gcc static libraries and debugging/profiling libraries live
  63. in /usr/lib/gcc-lib/i386-linux/$version/.
  64. The gcc shared libs live in the `shared` subdirectory of this,
  65. and the jump table versions live in the `jump` subdirectory.
  66.  
  67. You have a working g++ in /usr/bin.
  68.  
  69. Read gcc.1 gcc.ps.
  70. Also available from standard gnu gcc archive sites are the
  71. info files for binutils, gcc, libg++, gas, make etc ....
  72. Read these rather than rely on hokey sources like me.
  73.  
  74. krishna
  75.  
  76.  
  77.