From: quillen@orion.fccc.edu (John Quillen)
Subject: make on DEC Alpha OSF/1
Date: 9 Feb 93 15:49:20 GMT [thread overview]
Message-ID: <1l8jq0$q1o@rigel.fccc.edu> (raw)
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
next reply other threads:[~1993-02-09 15:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-02-09 15:49 John Quillen [this message]
1993-02-09 22:52 ` make on DEC Alpha OSF/1 Wayne Scott
1993-02-10 8:01 ` nck library internal error Frederic Montoya
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox