[comp.os.minix] How do you link the sh*.c files?

asobel@polyslo.UUCP (Andrew D Sobel) (11/19/87)

Newsgroups: comp.os.minix
Subject: Compiling the MINIX shell
Expires: 
References: 
Sender: 
Reply-To: asobel@polyslo.UUCP (Andrew D Sobel)
Followup-To: 
Distribution: 
Organization: Cal Poly State Univ,CSC Dept,San Luis Obispo,CA 93407
Keywords: 

I'm having a heck of a time compiling (actually linking) all the
shell files. I get the message that I have duplicate declarations
for hundreds of variables. I've tried linking without the library
files but get the same problem. I'd appreciate any advice on the
subject. Thanks. Andy.
  

dcd@tc.fluke.COM (David Dyck) (11/24/87)

in message <726@polyslo.UUCP> Andrew D Sobel asks about linking the shell
 
Here is the distrubuted makefile for the V1.2 shell
CFLAGS=-F
l=../../lib

shobj = sh1.s sh2.s sh3.s sh4.s sh5.s sh6.s
sh:     $(shobj) sh.h
        @asld -i -o sh -T. $l/crtso.s $(shobj) $l/libc.a $l/end.s
        @chmem =8000 sh