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