home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
- From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
- Newsgroups: comp.os.linux
- Subject: Re: GCC questions.
- Date: 19 Nov 1992 22:42:51 -0600
- Organization: Kansas State University
- Lines: 33
- Message-ID: <1ehqcbINNnmn@matt.ksu.ksu.edu>
- References: <Nov.19.23.01.23.1992.3202@romulus.rutgers.edu>
- NNTP-Posting-Host: matt.ksu.ksu.edu
-
- japhet@romulus.rutgers.edu (APJ) writes:
-
-
- > Hello, me again. (I'm afraid yer gonna be seeing alot of me).
-
- >I finally (think) I grabbed all off the req'ed files for GCC, and got them
- >all installed. 222d7a.Z, 222d7b.Z, 41lib1.Z and 41lib2.Z. However, when
- >I tried to compile anything I would get errors in the include files, so
- >I checked them. THEY turned out to be just one line:
-
- >#include </linux/filename>
-
- >I do not have this linux directory, or any of the files that should go in it.
- >Where are they located?? And what other files should I get (ie: required or
- >nifty things) for GCC??
-
- > Thank you,
- > RJ
-
- You will also need to get the kernel sources and install them.
- Then make a symbolic link from /usr/src/linux/include/asm to
- /usr/include/asm and do the same thing for linux.
-
- Below are the appropriate commands:
-
- ln -s /usr/src/linux/include/asm /usr/include/asm
- ln -s /usr/src/linux/include/linux /usr/include/linux
-
- Now the /usr/src/linux prefix may be different depending on where you
- install the kernel sources.
-
- James
-
-