[comp.soft-sys.andrew] Egregious MIPS build documentation error

nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) (08/09/90)

There's a nasty mistake in the top-level README file where it tells you
how to build Andrew on a MIPS system:

> There is a make macro MIPSLIBC_G0 which should be set in config/site.h
to the path of one's -G 0 libc.a 

This made it sound like I wanted something in site.h like:

#define MIPSLIBC_G0 " /u/andrew/3100/lib/mips_G0/libc"

WRONG!  It doesn't go in site.h at all.  What you want is a make
variable that goes in site.mcr and looks more like this:

MIPSLIBC_G0 =  /u/andrew/3100/lib/mips_G0/libc

The second "gotcha" is that  you don't want ".a" at the end of that --
for some unfathomable reason, you have to specify it WITHOUT the .a. 
Very cute.

This was quite nasty for me to figure out, and I assume it will be for
others.  I trust the README file will be improved in a future patch.  --
Nathaniel