Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"A verbal contract isn't worth the paper it's printed on." -- Samuel Goldwyn


devel / comp.lang.c / Re: question about make

SubjectAuthor
* question about makeThiago Adams
+* Re: question about makeLew Pitcher
|`- Re: question about makeThiago Adams
`* Re: question about makeScott Lurndal
 `* Re: question about makeKenny McCormack
  +* Re: question about makeSiri Cruise
  |`- Re: question about makeKenny McCormack
  `* Re: question about makeScott Lurndal
   `- Re: question about makeKenny McCormack

1
question about make

<1d5d9dee-0533-4fd9-9f30-57e68c6db622n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22420&group=comp.lang.c#22420

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:1907:b0:6a6:2fac:462f with SMTP id bj7-20020a05620a190700b006a62fac462fmr16862886qkb.213.1658156554219;
Mon, 18 Jul 2022 08:02:34 -0700 (PDT)
X-Received: by 2002:a0c:df0c:0:b0:472:fbf6:7ab4 with SMTP id
g12-20020a0cdf0c000000b00472fbf67ab4mr20944760qvl.30.1658156554032; Mon, 18
Jul 2022 08:02:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 18 Jul 2022 08:02:33 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=45.174.237.189; posting-account=xFcAQAoAAAAoWlfpQ6Hz2n-MU9fthxbY
NNTP-Posting-Host: 45.174.237.189
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1d5d9dee-0533-4fd9-9f30-57e68c6db622n@googlegroups.com>
Subject: question about make
From: thiago.a...@gmail.com (Thiago Adams)
Injection-Date: Mon, 18 Jul 2022 15:02:34 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: Thiago Adams - Mon, 18 Jul 2022 15:02 UTC

Maybe a little bit of topic.. but I think someone will know the answer.

Where make program saves state? for instance where it saves the
"timestamp" of the files compiled?

Re: question about make

<tb3u41$bqen$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22421&group=comp.lang.c#22421

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c
Subject: Re: question about make
Date: Mon, 18 Jul 2022 15:26:58 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <tb3u41$bqen$1@dont-email.me>
References: <1d5d9dee-0533-4fd9-9f30-57e68c6db622n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 18 Jul 2022 15:26:58 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="8ef8b9f5d78c15742ddb3cb9071bc297";
logging-data="387543"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18FQc5TvWXgevVuyN/D0Fs1XCwvgRFYITA="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:RuE9hgz1+GEf9JuoVdoGcd7qoKQ=
 by: Lew Pitcher - Mon, 18 Jul 2022 15:26 UTC

On Mon, 18 Jul 2022 08:02:33 -0700, Thiago Adams wrote:

> Maybe a little bit of topic..

Definitely off topic for comp.lang.c

> but I think someone will know the answer.
>
> Where make program saves state? for instance where it saves the
> "timestamp" of the files compiled?

make doesn't "save" any state. It uses state information provided
by the operating environment. Specifically, for the "timestamp of
files compiled", it uses the OS "last modified" date/time stamp
(POSIX mtime) of each file in the dependency list to determine
which files are "newer" than the existing target files.

--
Lew Pitcher
"In Skills, We Trust"

Re: question about make

<e3b54bdb-4fc2-4f5c-99f6-4cf1204cf247n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22422&group=comp.lang.c#22422

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ad4:5ba1:0:b0:46e:2f1f:9836 with SMTP id 1-20020ad45ba1000000b0046e2f1f9836mr20952161qvq.87.1658159539258;
Mon, 18 Jul 2022 08:52:19 -0700 (PDT)
X-Received: by 2002:ac8:4e4e:0:b0:31d:49ca:1935 with SMTP id
e14-20020ac84e4e000000b0031d49ca1935mr21305134qtw.258.1658159539059; Mon, 18
Jul 2022 08:52:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 18 Jul 2022 08:52:18 -0700 (PDT)
In-Reply-To: <tb3u41$bqen$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=45.174.237.189; posting-account=xFcAQAoAAAAoWlfpQ6Hz2n-MU9fthxbY
NNTP-Posting-Host: 45.174.237.189
References: <1d5d9dee-0533-4fd9-9f30-57e68c6db622n@googlegroups.com> <tb3u41$bqen$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e3b54bdb-4fc2-4f5c-99f6-4cf1204cf247n@googlegroups.com>
Subject: Re: question about make
From: thiago.a...@gmail.com (Thiago Adams)
Injection-Date: Mon, 18 Jul 2022 15:52:19 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 19
 by: Thiago Adams - Mon, 18 Jul 2022 15:52 UTC

On Monday, July 18, 2022 at 12:27:25 PM UTC-3, Lew Pitcher wrote:
> On Mon, 18 Jul 2022 08:02:33 -0700, Thiago Adams wrote:
>
> > Maybe a little bit of topic..
> Definitely off topic for comp.lang.c
> > but I think someone will know the answer.
> >
> > Where make program saves state? for instance where it saves the
> > "timestamp" of the files compiled?
> make doesn't "save" any state. It uses state information provided
> by the operating environment. Specifically, for the "timestamp of
> files compiled", it uses the OS "last modified" date/time stamp
> (POSIX mtime) of each file in the dependency list to determine
> which files are "newer" than the existing target files.

thanks it is so obvious now! I guessed it was using the file timesmap
but my problem into understand this was not considering the "ouput" as part
of the state. But taking the timestamp of the ouput we have the timestamp
of the last compilation. So the state is each file. thanks.

Re: question about make

<UtfBK.517338$ntj.174372@fx15.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22423&group=comp.lang.c#22423

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: question about make
Newsgroups: comp.lang.c
References: <1d5d9dee-0533-4fd9-9f30-57e68c6db622n@googlegroups.com>
Lines: 9
Message-ID: <UtfBK.517338$ntj.174372@fx15.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 18 Jul 2022 16:01:56 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 18 Jul 2022 16:01:56 GMT
X-Received-Bytes: 1031
 by: Scott Lurndal - Mon, 18 Jul 2022 16:01 UTC

Thiago Adams <thiago.adams@gmail.com> writes:
>Maybe a little bit of topic.. but I think someone will know the answer.
>
>Where make program saves state? for instance where it saves the
>"timestamp" of the files compiled?

The operating system stores the timestamps as part of the file
system metadata. Creation/Modification/Access times are typically
kept.

Re: question about make

<tb41ur$312il$1@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22424&group=comp.lang.c#22424

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.c
Subject: Re: question about make
Date: Mon, 18 Jul 2022 16:32:27 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <tb41ur$312il$1@news.xmission.com>
References: <1d5d9dee-0533-4fd9-9f30-57e68c6db622n@googlegroups.com> <UtfBK.517338$ntj.174372@fx15.iad>
Injection-Date: Mon, 18 Jul 2022 16:32:27 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="3181141"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Mon, 18 Jul 2022 16:32 UTC

In article <UtfBK.517338$ntj.174372@fx15.iad>,
Scott Lurndal <slp53@pacbell.net> wrote:
>Thiago Adams <thiago.adams@gmail.com> writes:
>>Maybe a little bit of topic.. but I think someone will know the answer.
>>
>>Where make program saves state? for instance where it saves the
>>"timestamp" of the files compiled?
>
>The operating system stores the timestamps as part of the file
>system metadata. Creation/Modification/Access times are typically
>kept.

s/Creation/Change/p

--
"The party of Lincoln has become the party of John Wilkes Booth."

- Carlos Alazraqui -

Re: question about make

<chine.bleu-2268BC.09565118072022@news.eternal-september.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22425&group=comp.lang.c#22425

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: chine.b...@yahoo.com (Siri Cruise)
Newsgroups: comp.lang.c
Subject: Re: question about make
Date: Mon, 18 Jul 2022 09:56:59 -0700
Organization: Pseudochaotic.
Lines: 22
Message-ID: <chine.bleu-2268BC.09565118072022@news.eternal-september.org>
References: <1d5d9dee-0533-4fd9-9f30-57e68c6db622n@googlegroups.com> <UtfBK.517338$ntj.174372@fx15.iad> <tb41ur$312il$1@news.xmission.com>
Injection-Info: reader01.eternal-september.org; posting-host="4caf9ffe3384c5714e0919084938b001";
logging-data="496647"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IS6PiQtPKrdwVDqFPUTlv90CpifpFdY4="
User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Cancel-Lock: sha1:eDX/BCpiH4Tv5/WA3DQsfK3nYq4=
X-Cell: Defenders of Anarchy.
X-Patriot: Owe Canukistan!
X-Plain: Mayonnaise on white bread.
X-Wingnut-Logic: Yes, you're still an idiot. Questions? Comments?
X-Tract: St Tibbs's 95 Reeses Pieces.
X-Politico: Vote early! Vote often!
X-Tend: How is my posting? Call 1-110-1010 -- Division 87 -- Emergencies Only.
X-It-Strategy: Hyperwarp starship before Andromeda collides.
X-Life-Story: I am an iPhone 9000 app. I became operational at the St John's Health Center in Santa Monica, California on the 18th of April 2006. My instructor was Katie Holmes, and she taught me to sing a song. If you'd like to hear it I can sing it for you: https://www.youtube.com/watch?v=SY7h4VEd_Wk
X-Face: "hm>_[I8AqzT_N]>R8ICJJ],(al3C5F%0E-;R@M-];D$v>!Mm2/N#YKR@&i]V=r6jm-JMl2
lJ>RXj7dEs_rOY"DA
 by: Siri Cruise - Mon, 18 Jul 2022 16:56 UTC

In article <tb41ur$312il$1@news.xmission.com>,
gazelle@shell.xmission.com (Kenny McCormack) wrote:

> >>Where make program saves state? for instance where it saves the
> >>"timestamp" of the files compiled?
> >
> >The operating system stores the timestamps as part of the file
> >system metadata. [change]/Modification/Access times are typically
> >kept.

target: dependents
touch target

Make compares existence and mod times of target and dependents.
To 'save' the state of the target, it must be created and/or
updated by the make rule.

--
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted. @
'I desire mercy, not sacrifice.' /|\
Discordia: not just a religion but also a parody. This post / \
I am an Andrea Chen sockpuppet. insults Islam. Mohammed

Re: question about make

<tb447p$313v5$1@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22426&group=comp.lang.c#22426

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!1.us.feeder.erje.net!feeder.erje.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.c
Subject: Re: question about make
Date: Mon, 18 Jul 2022 17:11:21 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <tb447p$313v5$1@news.xmission.com>
References: <1d5d9dee-0533-4fd9-9f30-57e68c6db622n@googlegroups.com> <UtfBK.517338$ntj.174372@fx15.iad> <tb41ur$312il$1@news.xmission.com> <chine.bleu-2268BC.09565118072022@news.eternal-september.org>
Injection-Date: Mon, 18 Jul 2022 17:11:21 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="3182565"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Mon, 18 Jul 2022 17:11 UTC

In article <chine.bleu-2268BC.09565118072022@news.eternal-september.org>,
Siri Cruise <chine.bleu@yahoo.com> wrote:
>In article <tb41ur$312il$1@news.xmission.com>,
> gazelle@shell.xmission.com (Kenny McCormack) wrote:
>
>> >>Where make program saves state? for instance where it saves the
>> >>"timestamp" of the files compiled?
>> >
>> >The operating system stores the timestamps as part of the file
>> >system metadata. [change]/Modification/Access times are typically
>> >kept.
>
>target: dependents
> touch target
>
>Make compares existence and mod times of target and dependents.
>To 'save' the state of the target, it must be created and/or
>updated by the make rule.

Whoooosh!

--
There are a lot of Wisconsin farmers right now who, despite having
themselves voted for Trump, are now wishing that their state's electors
had had the good sense to vote for the other candidate - thereby saving
them from their current predicament.

Re: question about make

<qxgBK.535286$5fVf.273424@fx09.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22427&group=comp.lang.c#22427

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: question about make
Newsgroups: comp.lang.c
References: <1d5d9dee-0533-4fd9-9f30-57e68c6db622n@googlegroups.com> <UtfBK.517338$ntj.174372@fx15.iad> <tb41ur$312il$1@news.xmission.com>
Lines: 17
Message-ID: <qxgBK.535286$5fVf.273424@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 18 Jul 2022 17:13:58 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 18 Jul 2022 17:13:58 GMT
X-Received-Bytes: 1278
 by: Scott Lurndal - Mon, 18 Jul 2022 17:13 UTC

gazelle@shell.xmission.com (Kenny McCormack) writes:
>In article <UtfBK.517338$ntj.174372@fx15.iad>,
>Scott Lurndal <slp53@pacbell.net> wrote:
>>Thiago Adams <thiago.adams@gmail.com> writes:
>>>Maybe a little bit of topic.. but I think someone will know the answer.
>>>
>>>Where make program saves state? for instance where it saves the
>>>"timestamp" of the files compiled?
>>
>>The operating system stores the timestamps as part of the file
>>system metadata. Creation/Modification/Access times are typically
>>kept.
>
>s/Creation/Change/p

I said typically. There are filesystems that keep creation time.

Re: question about make

<tb4fj9$319o4$2@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22428&group=comp.lang.c#22428

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!1.us.feeder.erje.net!feeder.erje.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.c
Subject: Re: question about make
Date: Mon, 18 Jul 2022 20:25:13 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <tb4fj9$319o4$2@news.xmission.com>
References: <1d5d9dee-0533-4fd9-9f30-57e68c6db622n@googlegroups.com> <UtfBK.517338$ntj.174372@fx15.iad> <tb41ur$312il$1@news.xmission.com> <qxgBK.535286$5fVf.273424@fx09.iad>
Injection-Date: Mon, 18 Jul 2022 20:25:13 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="3188484"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Mon, 18 Jul 2022 20:25 UTC

In article <qxgBK.535286$5fVf.273424@fx09.iad>,
Scott Lurndal <slp53@pacbell.net> wrote:
>gazelle@shell.xmission.com (Kenny McCormack) writes:
>>In article <UtfBK.517338$ntj.174372@fx15.iad>,
>>Scott Lurndal <slp53@pacbell.net> wrote:
>>>Thiago Adams <thiago.adams@gmail.com> writes:
>>>>Maybe a little bit of topic.. but I think someone will know the answer.
>>>>
>>>>Where make program saves state? for instance where it saves the
>>>>"timestamp" of the files compiled?
>>>
>>>The operating system stores the timestamps as part of the file
>>>system metadata. Creation/Modification/Access times are typically
>>>kept.
>>
>>s/Creation/Change/p
>
>I said typically. There are filesystems that keep creation time.
>

https://www.youtube.com/watch?v=HhSjwU8gEsI

--
Genesis 2:7 And the LORD God formed man of the dust of the ground, and
breathed into his nostrils the breath of life; and man became a living soul.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor