home *** CD-ROM | disk | FTP | other *** search
- 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
- From: jxt@stc06.ctd.ornl.gov (TOLLIVER J S)
- Newsgroups: gnu.utils.bug
- Subject: Problem with Gnu make on SGI with CC
- Message-ID: <1992Nov12.172944.8632@ornl.gov>
- Date: 12 Nov 92 17:29:44 GMT
- Sender: gnulists@ai.mit.edu
- Reply-To: jxt@stc06.ctd.ornl.gov (TOLLIVER J S)
- Distribution: gnu
- Organization: Oak Ridge National Laboratory
- Lines: 34
- Approved: bug-gnu-utils@prep.ai.mit.edu
-
- I've built GNU make 3.62 on a Silicon Graphics Indigo under IRIX 4.0.1.
- I'm using it to compile C++ code using SGI's C++ compiler (basically
- just cfront and cc). But I am having the following strange problem.
-
- CC in an action line with -I options (like -I/usr/include/X11) fails with the
- error:
-
- CC: can't execute /usr/lib/acpp
-
- Leaving out all -I options works. Putting in any fails. Of course, the compile
- will not be successful without the -I's since there will be missing include
- files, but at least the "can't execute /usr/lib/acpp" error does not occur.
- Other options that get passed on to cpp, like -DFUNCPROTO, do work.
-
- Entering the exact same action line interatively, including -I options, also
- works.
-
- I can't say whether this is a problem with Gnu make or with SG CC, but it first
- appeared after installing Gnu make. I.e., it DOES NOT occur with SG's native
- make. It also does not occur with the same Gnu make on an HP 9000/730 machine
- using HP's C++ compiler. (Please don't suggest using gcc/g++. That's not an
- option for this project.)
-
- One more thing, although I can repeatedly generate the error with my real
- 4000-line makefile, I cannot reproduce it with a simple test case and a
- simple makefile. Something about the complexity and/or length of the makefile
- seems to be related, but I know not what.
-
- If anyone has any ideas, I would greatly appreciate any help received.
-
- Thanks,
- Johnny Tolliver
- Oak Ridge National Laboratory
- jxt@ornl.gov
-