Hello!
I'm not sure this is correct project to ask this feature.
I use workstation with GNU/Linux and x86_64 architecture.
I use vim + vim-syntastic for syntax and style checks.
I use riscv-nuclei-elf-gcc from package toolchain-gd32v from PlatformIO:
% riscv-nuclei-elf-gcc --version
riscv-nuclei-elf-gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I faced with an issue: when I use riscv-nuclei-elf-gcc instead of system gcc, I receive an error message:
syntastic: 0.575801: checker output: [‘gcc: error: unrecognized command-line option ‘-masm=att’’, '']
This option, -masm=att came from this code https://github.com/vim-syntastic/syntastic/blob/master/syntax_checkers/asm/gcc.vim#L44 :
'main_flags': '-x assembler -fsyntax-only' . (g:syntastic_asm_generic ? '' : ' -masm=' . s:GetDialect(buf)) })
Is it possible to ignore this option, -masm=att, and not fail?
Hello!
I'm not sure this is correct project to ask this feature.
I use workstation with GNU/Linux and x86_64 architecture.
I use vim + vim-syntastic for syntax and style checks.
I use
riscv-nuclei-elf-gccfrom packagetoolchain-gd32vfrom PlatformIO:I faced with an issue: when I use
riscv-nuclei-elf-gccinstead of systemgcc, I receive an error message:This option,
-masm=attcame from this code https://github.com/vim-syntastic/syntastic/blob/master/syntax_checkers/asm/gcc.vim#L44 :Is it possible to ignore this option,
-masm=att, and not fail?