[10501] in Athena Bugs
sun4 7.5A: cc
daemon@ATHENA.MIT.EDU (yandros@Athena.MIT.EDU)
Tue May 11 16:31:17 1993
From: yandros@Athena.MIT.EDU
Date: Tue, 11 May 93 16:31:03 EDT
To: bugs@Athena.MIT.EDU
System name: sonny
Type and version: SPARC/IPX 7.5A
Display type: Don't know how to determine display type for this machine.
What were you trying to do?
Compile something under Solaris. (Yes, I know I shouldn't have bothered)
What's wrong:
After hearing and being a funnel fot The Not-So-Great Solaris Compiler
flamewar, I find that it's *still* misconfigured:
> gmake
cc -g -c hostinfo.c -o hostinfo.o
/usr/gcc/bin/gcc: installation problem, cannot exec cpp: No such file or directory
/usr/gcc/bin/gcc: file path prefix `/usr/gcc/lib/' never used
gmake: *** [hostinfo.o] Error 1
> where cc
/usr/ucb/cc
> cat /usr/ucb/cc
#!/bin/sh
/usr/gcc/bin/gcc -traditional -B/usr/gcc/lib/ -DSOLARIS -I/usr/gcc/include $@
What should have happened:
Well, lesse...
/usr/gcc *does* exist, but it has only a `bin' subdir.
/usr/ccs has both `bin' and `lib', but no `include'.
Please describe any relevant documentation references:
#if !defined(FLAME)
#define FLAME
#endif /* FLAME */
All is not lost!
> where gcc
/afs/sipb/project/gnu/bin/gcc
/mit/outland/sun4bin/gcc
Of course, that doesn't mean this machine has all the header files it
should... Oh well; I knew it wasn't going to be easy.
I think I'll go back to porting ANSI programs to the RT - it was less
stressful. How many of these things did you decide to buy, again?
Sheesh.