From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,9cc074dad2656319,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-02-09 07:49:20 PST Path: sparky!uunet!amdahl!rtech!sgiblab!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!asuvax!ukma!cs.widener.edu!netnews.upenn.edu!rigel.rm.fccc.edu!orion.fccc.edu!quillen From: quillen@orion.fccc.edu (John Quillen) Newsgroups: comp.unix.osf.misc Subject: make on DEC Alpha OSF/1 Keywords: DEC,alpha,osf/1 Message-ID: <1l8jq0$q1o@rigel.fccc.edu> Date: 9 Feb 93 15:49:20 GMT Organization: Fox Chase Cancer Center, Philadelphia, PA NNTP-Posting-Host: relay.fccc.edu make(1) on DEC's osf/1 does not appear to acknowledge the lib.a(file.o) construct - it doesn't do the ar or the rm. Is there a patch? The following Makefile doesn't work properly on DEC OSF/1, but does on Ultrix 4.3 and SunOS 4.1.2: OSF/Alpha% cat Makefile all : prog lib.a : lib.a(a.o) lib.a(b.o) lib.a(m.o) ranlib lib.a prog : lib.a cc -o m lib.a OSF/Alpha% make cc -c a.c cc -c b.c cc -c m.c ranlib lib.a ar: Warning: creating lib.a s - creating symbol hash table. Wait... cc -o m lib.a ld: Can't read archive header in: lib.a (Error 0) *** Exit 1 Stop. OSF/Alpha% ultrix% make cc -c -O a.c ar rv lib.a a.o ar: Warning: creating lib.a a - a.o rm -f a.o cc -c -O b.c ar rv lib.a b.o a - b.o rm -f b.o cc -c -O m.c ar rv lib.a m.o a - m.o rm -f m.o ranlib lib.a cc -o m lib.a Ultrix% SunOs% make cc -target sun4 -c -o a.o a.c ar rv lib.a a.o a - a.o ar: creating lib.a rm -f a.o cc -target sun4 -c -o b.o b.c ar rv lib.a b.o a - b.o rm -f b.o cc -target sun4 -c -o m.o m.c ar rv lib.a m.o a - m.o rm -f m.o ranlib lib.a cc -o m lib.a SunOs% Thanks, John -- ------------ John Quillen JW_Quillen@fccc.edu Phone: (215) 728-3660 FAX: (215) 728-2513 Research Computing Services / The Fox Chase Cancer Center / Phila. PA, USA "The world is full of apathy ... but who cares?" R. Murphy