[2699] in SIPB_Linux_Development
gcc in GNU locker doesn't work on Linux-Athena 5.2 machines
daemon@ATHENA.MIT.EDU (Erik Nygren)
Sun Mar 7 12:40:11 1999
To: gnu@MIT.EDU
Cc: linux-dev@MIT.EDU
Date: Sun, 07 Mar 1999 12:39:51 EST
From: Erik Nygren <nygren@MIT.EDU>
People who "add -f gnu" will have gcc from the GNU locker
fail on Linux-Athena 5.2 machines. This seems to be some sort
of mismatch between the compiler and the linker since there
is no "ld" installed in the GNU locker.
% cat >x.c
#include <stdio.h>
void main(void) { printf("hello, world!\n"); }
^D
% which gcc
/usr/bin/gcc
% gcc x.c -o x
% ./x
hello, world!
% rm -f x
% add -f gnu
% which gcc
/mit/gnu/arch/i386_linux3/bin/gcc
% gcc x.c -o x
ld: cannot open crtbegin.o: No such file or directory