home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gcc / help / 2818 < prev    next >
Encoding:
Internet Message Format  |  1992-12-27  |  2.2 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!chsun!osnbe!
  2. From: rheiger@renext.eiger.olivetti.ch (Richard H. E. Eiger)
  3. Newsgroups: gnu.gcc.help
  4. Subject: Re: libg++-2.3
  5. Message-ID: <1992Dec27.084125.11869@osnbe.Olivetti.ch>
  6. Date: 27 Dec 92 08:41:25 GMT
  7. References: <1992Dec23.211947.19450@netcom.com>
  8. Sender: @osnbe.Olivetti.ch
  9. Reply-To: rheiger@renext.eiger.olivetti.ch
  10. Organization: Olivetti (Schweiz) AG, Branch Office Berne
  11. Lines: 47
  12. Nntp-Posting-Host: renext
  13.  
  14. In article <1992Dec23.211947.19450@netcom.com> jimlynch@netcom.com (Jim Lynch)  
  15. writes:
  16. > Hello, more problems... I did the 'make fixincludes' and now I'm getting more
  17. > problems... Question: If I set the _prefix_, does the lib make assume that my
  18. > entire installation is in the prefix directory? If so, is there a way to tell
  19. > the make (presumably thru 'configure') only the fixed includes are in my dir
  20. > and the rest can be found in the default place (/usr/local/...)?
  21. > Here's what I'm getting when I try to make the c++ libs:
  22. > Problem I:
  23. > dummy.c: 4: Can't find include file stdarg.h
  24. >  
  25. > Problem II:
  26. > gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c  
  27. String.cc
  28. > In file included from String.cc:28:
  29. > /u31/jimlynch/lib/gcc-lib/sparc-sun-sunos4.1.3/2.3.2/include/limits.h:11:  
  30. syslim
  31. > its.h: No such file or directory
  32. > *** Error code 1
  33. > make: Fatal error: Command failed for target `String.o'
  34.  
  35. I had the very same thing on my sun 3/60 sun-os 4.1.1. I managed to get around  
  36. this by simply changeing ...2.3.2/include/limits.h to include <sys/limits.h>  
  37. instead. I don't know whether that's ok - but it works so far.
  38.  
  39. [deleted]
  40.  
  41. > ---
  42. > Any and all help appreciated.
  43.  
  44. On top of that problem I would also get a problem when I wanted to compile a  
  45. c++ program as anything else than root user. I found out that there were many  
  46. include files in ...g++-include which had no read permissions other than for  
  47. root. After the chmod it worked just fine.
  48.  
  49.     Richard
  50.  
  51. --
  52.                          
  53.     ___           _____2
  54.    /   )  /  /   /        Richard H. E. Eiger
  55.   /_ _/  /__/   /__       Ing. Informatik HTL
  56.  /\     /  /   /          Unregistered NeXT fan
  57. /  \   /  /   /_____      rheiger@renext.eiger.olivetti.ch (NeXT mail welcome)
  58.