* Tale of two makes
@ 2004-01-09 19:56 Joseph Dionne
2004-01-10 13:38 ` Jerry Feldman
0 siblings, 1 reply; 3+ messages in thread
From: Joseph Dionne @ 2004-01-09 19:56 UTC (permalink / raw)
I am porting my 'c' application to a Tru64 system, uname output follows;
OSF1 nodeX V5.1 1885 alpha
I have found two make commands, one in /sbin (symbolic link to /bin) the
other in /usr/bin/posix.
I have observation and two questions. My observation is that the
/sbin/make does not seem to handle typical dependents such as;
.c.o:
cc ...
.c.a:
cc ...
ar ...
lib.a: lib.a(module.o)
What I find is that /sbin/make wants to run the .c.o rule instead of the
.c.a rule. Does anyone know what standards the /sbin/make conforms too?
The second question is will a base Tru64 system always have
/usr/bin/posix/make? This make works fine with my Makefile, but, I
typically am granted access to customer's systems for any enhancements
and changes. I want to know if I should keep a copy of the
/usr/bin/posix/make or if it will always be available on other Tru64
systems?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tale of two makes
2004-01-09 19:56 Tale of two makes Joseph Dionne
@ 2004-01-10 13:38 ` Jerry Feldman
2004-01-11 0:55 ` Finnbarr P. Murphy
0 siblings, 1 reply; 3+ messages in thread
From: Jerry Feldman @ 2004-01-10 13:38 UTC (permalink / raw)
On Fri, 09 Jan 2004 19:56:20 GMT
Joseph Dionne <jdionne@hotmail.com> wrote:
> I am porting my 'c' application to a Tru64 system, uname output
> follows;
>
> OSF1 nodeX V5.1 1885 alpha
>
> I have found two make commands, one in /sbin (symbolic link to /bin)
> the other in /usr/bin/posix.
>
> I have observation and two questions. My observation is that the
> /sbin/make does not seem to handle typical dependents such as;
>
> .c.o:
> cc ...
>
> .c.a:
> cc ...
> ar ...
>
> lib.a: lib.a(module.o)
>
> What I find is that /sbin/make wants to run the .c.o rule instead of
> the .c.a rule. Does anyone know what standards the /sbin/make
> conforms too?
>
> The second question is will a base Tru64 system always have
> /usr/bin/posix/make? This make works fine with my Makefile, but, I
> typically am granted access to customer's systems for any enhancements
>
> and changes. I want to know if I should keep a copy of the
> /usr/bin/posix/make or if it will always be available on other Tru64
> systems?
>
As I recall, for backwards compatibility, we could not replace the
current make(3) with the POSIX make as this could break the building of
many applications. I believe that the /bin/make (or /sbin/make) is the
BSD version of make. There should be a blurb in the release notes about
this. I think this goes back to version 3.0.
--
Jerry Feldman <gaf-nospam-at-blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tale of two makes
2004-01-10 13:38 ` Jerry Feldman
@ 2004-01-11 0:55 ` Finnbarr P. Murphy
0 siblings, 0 replies; 3+ messages in thread
From: Finnbarr P. Murphy @ 2004-01-11 0:55 UTC (permalink / raw)
Jerry Feldman <gaf-noSPAM@blu.org> wrote in message news:<20040110083800.3086fd1e@gaf.blu.org>...
> On Fri, 09 Jan 2004 19:56:20 GMT
> Joseph Dionne <jdionne@hotmail.com> wrote:
>
> > I am porting my 'c' application to a Tru64 system, uname output
> > follows;
> >
> > OSF1 nodeX V5.1 1885 alpha
> >
> > I have found two make commands, one in /sbin (symbolic link to /bin)
> > the other in /usr/bin/posix.
> >
> > I have observation and two questions. My observation is that the
> > /sbin/make does not seem to handle typical dependents such as;
> >
> > .c.o:
> > cc ...
> >
> > .c.a:
> > cc ...
> > ar ...
> >
> > lib.a: lib.a(module.o)
> >
> > What I find is that /sbin/make wants to run the .c.o rule instead of
> > the .c.a rule. Does anyone know what standards the /sbin/make
> > conforms too?
> >
None.
Use make(1p) i.e. /usr/bin/posix/make which is POSIX/XPG/SUS-compliant
if you want a standards compliant make.
/usr/bin/make is the OSF/1 make (essentially BSD)
- F
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-11 0:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-09 19:56 Tale of two makes Joseph Dionne
2004-01-10 13:38 ` Jerry Feldman
2004-01-11 0:55 ` Finnbarr P. Murphy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox