home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17253 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.5 KB

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: GCC questions.
  5. Date: 19 Nov 1992 22:42:51 -0600
  6. Organization: Kansas State University
  7. Lines: 33
  8. Message-ID: <1ehqcbINNnmn@matt.ksu.ksu.edu>
  9. References: <Nov.19.23.01.23.1992.3202@romulus.rutgers.edu>
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11.  
  12. japhet@romulus.rutgers.edu (APJ) writes:
  13.  
  14.  
  15. >  Hello, me again. (I'm afraid yer gonna be seeing alot of me).
  16.  
  17. >I finally (think) I grabbed all off the req'ed files for GCC, and got them
  18. >all installed. 222d7a.Z, 222d7b.Z, 41lib1.Z and 41lib2.Z. However, when
  19. >I tried to compile anything I would get errors in the include files, so
  20. >I checked them. THEY turned out to be just one line:
  21.  
  22. >#include </linux/filename>
  23.  
  24. >I do not have this linux directory, or any of the files that should go in it.
  25. >Where are they located?? And what other files should I get (ie: required or
  26. >nifty things) for GCC??
  27.  
  28. >                            Thank you,
  29. >                                    RJ
  30.  
  31. You will also need to get the kernel sources and install them.
  32. Then make a symbolic link from /usr/src/linux/include/asm to 
  33. /usr/include/asm and do the same thing for linux.
  34.  
  35. Below are the appropriate commands:
  36.  
  37. ln -s /usr/src/linux/include/asm /usr/include/asm
  38. ln -s /usr/src/linux/include/linux /usr/include/linux
  39.  
  40. Now the /usr/src/linux prefix may be different depending on where you
  41. install the kernel sources.
  42.  
  43. James
  44.  
  45.