home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / utils / bug / 2055 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.9 KB

  1. Path: sparky!uunet!know!cass.ma02.bull.com!mips2!news.bbn.com!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!stc06.ctd.ornl.gov!jxt
  2. From: jxt@stc06.ctd.ornl.gov (TOLLIVER J S)
  3. Newsgroups: gnu.utils.bug
  4. Subject: Problem with Gnu make on SGI with CC
  5. Message-ID: <1992Nov12.172944.8632@ornl.gov>
  6. Date: 12 Nov 92 17:29:44 GMT
  7. Sender: gnulists@ai.mit.edu
  8. Reply-To: jxt@stc06.ctd.ornl.gov (TOLLIVER J S)
  9. Distribution: gnu
  10. Organization: Oak Ridge National Laboratory
  11. Lines: 34
  12. Approved: bug-gnu-utils@prep.ai.mit.edu
  13.  
  14. I've built GNU make 3.62 on a Silicon Graphics Indigo under IRIX 4.0.1.
  15. I'm using it to compile C++ code using SGI's C++ compiler (basically
  16. just cfront and cc). But I am having the following strange problem.
  17.  
  18. CC in an action line with -I options (like -I/usr/include/X11) fails with the
  19. error:
  20.  
  21.     CC: can't execute /usr/lib/acpp
  22.  
  23. Leaving out all -I options works. Putting in any fails. Of course, the compile
  24. will not be successful without the -I's since there will be missing include
  25. files, but at least the "can't execute /usr/lib/acpp" error does not occur.
  26. Other options that get passed on to cpp, like -DFUNCPROTO, do work.
  27.  
  28. Entering the exact same action line interatively, including -I options, also
  29. works.
  30.  
  31. I can't say whether this is a problem with Gnu make or with SG CC, but it first
  32. appeared after installing Gnu make. I.e., it DOES NOT occur with SG's native
  33. make. It also does not occur with the same Gnu make on an HP 9000/730 machine
  34. using HP's C++ compiler. (Please don't suggest using gcc/g++. That's not an
  35. option for this project.)
  36.  
  37. One more thing, although I can repeatedly generate the error with my real
  38. 4000-line makefile, I cannot reproduce it with a simple test case and a
  39. simple makefile. Something about the complexity and/or length of the makefile
  40. seems to be related, but I know not what.
  41.  
  42. If anyone has any ideas, I would greatly appreciate any help received.
  43.  
  44. Thanks,
  45. Johnny Tolliver
  46. Oak Ridge National Laboratory
  47. jxt@ornl.gov
  48.