* [9fans] mk - how to work around environment size limit on linux
@ 2015-05-25 12:30 dexen deVries
2015-05-25 14:16 ` Skip Tavakkolian
0 siblings, 1 reply; 2+ messages in thread
From: dexen deVries @ 2015-05-25 12:30 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
i'm using plan9port mk on linux and just hit the environment+argument
length limit -- linux' execve($PLAN9/bin/rc, ... ) returns E2BIG because
$newprereq gets too large.
how do i work around? is there an idiomatic way of splitting up $newprereq
into smaller chunks?
the mkfile is:
TIMESTAMP_FILE:
for (i in $newprereq)
do_stuff $i
<|./generate-rules-for-files PATTERN
where ./generate-rules-for-files outputs rules like TIMESTAMP_FILE:
file_matching_pattern
[-- Attachment #2: Type: text/html, Size: 623 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-25 14:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-25 12:30 [9fans] mk - how to work around environment size limit on linux dexen deVries
2015-05-25 14:16 ` Skip Tavakkolian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).