--version Get | This option causes Yasm to prints the version number of Yasm as well as a license summary to standard output. | help + man |
--license | show license text | help |
-h, --help Print | Prints a summary of invocation options. | help + man |
--arch arch | select architecture (list with -a help) | help |
-a arch | Selects the target architecture. | help + man |
--parser parser | select parser (list with -p help) | help |
-p parser | Selects the parser (the assembler syntax). | help + man |
--preproc preproc | select preprocessor (list with -r help) | help |
-r preproc | Selects the preprocessor to use on the input file before passing it to the parser. | help + man |
--oformat format | select object format (list with -f help) | help |
-f format | Selects the output object format. | help + man |
--dformat debug | select debugging format (list with -g help) | help |
-g debug | Selects the debugging format for debug information. | help + man |
--lformat list | select list format (list with -L help) | help |
-L list | Selects the format/style of the output list file. | help + man |
--list listfile | name of list-file output | help |
-l listfile | Specifies the name of the output list file. | help + man |
--objfile filename | name of object-file output | help |
-o filename | Specifies the name of the output file, overriding any default name generated by Yasm. | help + man |
--mapfile filename | name of map-file output | help |
--machine machine | select machine (list with -m help) | help |
-m machine | Selects the target machine architecture. | help + man |
--force-strict | treat all sized operands as if `strict' was used | help |
-w Inhibit | This option causes Yasm to inhibit all warning messages. | help + man |
-W options | The warning options are handled in the order given on the command line, so if -w is followed by -Worphan-labels, all warnings are turned off except for orphan-labels. | help + man |
-M | generate Makefile dependencies on stdout | help |
-E file | redirect error messages to file | help |
-s | redirect error messages to stdout | help |
-e, --preproc-only Only | preprocess only (writes output to stdout by default) | help + man |
-i path | add include path | help |
-I path | Adds directory path to the search path for include files. | help + man |
-P filename | Pre-includes file filename, making it look as though filename was prepended to the input. | help + man |
-d macro[=value | pre-define a macro, optionally to value | help |
-D macro[=value | pre-define a macro, optionally to value | help + man |
-u macro | undefine a macro | help |
-U macro | Undefines a single-line macro (may be either a built-in macro or one defined earlier in the command line with -D. | help + man |
-X style | Selects a specific output style for error and warning messages. | help + man |
--prefix prefix | prepend argument to name of all external symbols | help |
--suffix suffix | append argument to name of all external symbols | help |
--postfix suffix | append argument to name of all external symbols | help |
-Werror Treat | This option causes Yasm to treat all warnings as errors. (in the manual page but not in --help) | man |
-Wno-unrecognized-char Do | Causes Yasm to not warn on unrecognized characters found in the input. (in the manual page but not in --help) | man |
-Worphan-labels Warn | When using the NASM-compatible parser, causes Yasm to warn about labels found alone on a line without a trailing colon. (in the manual page but not in --help) | man |