split the C compiler's name from its options
SEX_CC="ccache cc" went looking for an executable of that whole name; it is read as make reads CC now.
This commit is contained in:
@@ -90,7 +90,8 @@ sexc ./examples/hello-world.sex -o hello
|
||||
That's it. Now you should have executable named ~hello~ in your
|
||||
directory. Sex uses C under the hood, the default C compiler is ~cc~,
|
||||
but you can pass any using ~--c-compiler~ option, or by setting
|
||||
~SEX_CC~ environment variable.
|
||||
~SEX_CC~ environment variable. Either may carry the compiler's own
|
||||
options, as ~make~'s ~CC~ does: ~SEX_CC="ccache cc"~.
|
||||
|
||||
Everything after ~--~ is handed to the C compiler exactly as written:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user