[4388] in testers
sun4 8.4.1: ld -- can't compile C code
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Fri May 26 07:25:33 2000
Message-Id: <200005261125.HAA03908@x15-cruise-basselope.mit.edu>
To: testers@MIT.EDU
Date: Fri, 26 May 2000 07:25:26 -0400
From: "Jacob Morzinski" <jmorzins@MIT.EDU>
System name: x15-cruise-basselope.mit.edu
Type and version: Ultra-5_10 8.4.1 (with mkserv)
Display type: afb
Shell: /bin/sh
Window manager: fvwm2
What were you trying to do?
Compile C code, using either "cc" or "/usr/gcc/bin/gcc"
What's wrong:
I can't link.
For example:
% cat foo.c
main ()
{
printf("hello, world\n");
}
% cc -o foo foo.c
cc: Can't exec /usr/ccs/bin/ld
% /usr/gcc/bin/gcc -o foo foo.c
/usr/ucb/ld: /usr/ccs/bin/ld: not found
collect2: ld returned 1 exit status
What should have happened:
I should have been able to run a C compiler.
Please describe any relevant documentation references:
[Please replace this line with your information.]