Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: boyd@france3.fr (Boyd Roberts)
Subject: Re: DEC Unix troubles
Date: 1997/12/12	[thread overview]
Message-ID: <66r2cd$il3$5@route1.mdrf.france3.fr> (raw)
In-Reply-To: 66otou$mpo@mxgate.memex.co.uk

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]


In article <66otou$mpo@mxgate.memex.co.uk>, Stephen Marley <stephen@bach.memex.co.uk> writes:
>Why is OSF's make so badly broken? All our makefiles work with the
>native make program on every other flavour of Unix I have ever seen.  I
>have always had to install GNU make on OSF but now even that doesn't
>work right on 4.0B. The main problem is that there's no default rule
>for updating a library member from a .c file, i.e., you can't say:
>

I think you'll find that make never really handled libraries properly.
Even if you do have a .a.o rule it's hideously slow because the whole
library is re-written for _each_ .o as it is compiled.  I keep the .o's
hanging around, blow away the library and then use ar q:

    $(LIB)      : $(LIBOBJ)
                @-rm -f $(LIB)
                ar qv $(LIB) $(LIBOBJ)
                $(RANLIB) $(LIB)

-- 
Boyd Roberts <boyd@france3.fr>			UTM N 31 447109 5411310

En fin, bon, bref, si tu veux, point � la ligne, voil� quoi -- Jacques

SPAT: netmoney@sparrow.spearhead.net



      reply	other threads:[~1997-12-12  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-11  5:00 DEC Unix troubles Stephen Marley
1997-12-12  5:00 ` Boyd Roberts [this message]
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