This repository was archived by the owner on Sep 20, 2023. It is now read-only.
  
  
  - 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.1k
 
ASM: gcc
        LCD 47 edited this page Jun 12, 2016 
        ·
        14 revisions
      
    This file exists only as a historic reference.  Documentation for syntastic
checkers is now included in the manual, please see :help syntastic-checkers
in Vim.
Maintainer: Joshua Rahm [email protected]
Adds checking for assembly using gcc. The plugin supports both the AT&T and Intel dialects.
The following options are supported:
- g:syntastic_asm_compiler (string; default: 'gcc')
 - Compiler executable.  Set it to something like 
'mipsel-linux-gcc'. - g:syntastic_asm_errorformat (string; default: unset)
 - Override for the default 
errorformat. - g:syntastic_asm_dialect (string; default: unset)
 - Normally the assembler will select the dialect to use for checking based on the file extension (AT&T for 
.s, Intel for.asm). If you want to override the automatic choice set this variable to either'att'or'intel'. - g:syntastic_asm_remove_include_errors (boolean; default: 0)
 - By default, errors in files included from the file being checked are shown. Set this variable to 1 to remove messages about errors in included files. Please note that this means syntastic will silently abort checks if there are fatal errors in one of the included files.
 - g:syntastic_asm_compiler_options (string; default: unset)
 - Compilation flags (such as defines or include directories) to be passed to the assembler.  Set it to something like 
'-mtune=native'. - g:syntastic_asm_config_file (string; default: '.syntastic_asm_config')
 - File containing additional compilation flags to be passed to the assembler, one option per line.
 - g:syntastic_asm_include_dirs (array of strings; default: [])
 - Include directories to be passed to the assembler, in addition to the above compilation flags.  You can set this to something like 
['inc', 'asm/src/include'], and the corresponding-Iinc -Iasm/src/includewill be added to the compilation flags. - b:syntastic_asm_cflags (string; default: unset)
 - Buffer-local variable. Additional compilation flags specific to the current buffer.
 
This checker doesn't call the makeprgBuild() function, and thus it ignores
the usual g:syntastic_asm_gcc_<option> variables.  The only exception is
g:syntastic_asm_gcc_exec, which can still be used to override the checker's
executable.