mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-05 16:51:27 +08:00
doc/nasmdoc.src: NASMENV -- fixup backslashes
−i option (include file search directories) should contain trailing slash. Reported-by: Frank Kotler <fbkotler@zytor.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
ac9aaeeff0
commit
946debb627
@ -1005,7 +1005,7 @@ standard search directories for include files, by putting \c{-i}
|
||||
options in the \c{NASMENV} variable.
|
||||
|
||||
The value of the variable is split up at white space, so that the
|
||||
value \c{-s -ic:\\nasmlib} will be treated as two separate options.
|
||||
value \c{-s -ic:\\nasmlib\\} will be treated as two separate options.
|
||||
However, that means that the value \c{-dNAME="my name"} won't do
|
||||
what you might want, because it will be split at the space and the
|
||||
NASM command-line processing will get confused by the two
|
||||
@ -1015,8 +1015,8 @@ To get round this, NASM provides a feature whereby, if you begin the
|
||||
\c{NASMENV} environment variable with some character that isn't a minus
|
||||
sign, then NASM will treat this character as the \i{separator
|
||||
character} for options. So setting the \c{NASMENV} variable to the
|
||||
value \c{!-s!-ic:\\nasmlib} is equivalent to setting it to \c{-s
|
||||
-ic:\\nasmlib}, but \c{!-dNAME="my name"} will work.
|
||||
value \c{!-s!-ic:\\nasmlib\\} is equivalent to setting it to \c{-s
|
||||
-ic:\\nasmlib\\}, but \c{!-dNAME="my name"} will work.
|
||||
|
||||
This environment variable was previously called \c{NASM}. This was
|
||||
changed with version 0.98.31.
|
||||
|
Loading…
Reference in New Issue
Block a user