blob: 4d78403183d4f2310a6b25a2b801e87a36085d78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
$NetBSD: NOTES,v 1.3 2006/02/02 23:08:31 rillig Exp $
The wrapper scripts work roughly like the block diagram below.
===> {"$@"} <---> [scan]
|
v
[arg-source]
|
v
{argbuf}
| / [arg-pp-main]
v | [arg-pp]
[logic] <---------> <| [cache]
| | [transform.sed]
v \ [transform]
{cmdbuf}
|
v
[cmd-sink] <---.
| |
v |
[buildcmd] ----'
| |
v v
{cmd} {libs}
| |
| v
| [reorderlibs]
| |
| /
\ /
v v
<=== {cmd}
Additional notes:
* The <---> between the "$@" and the [scan] is indentional. The [scan]
program may indeed modify "$@" by using the "set --" shell command.
|