Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI do not agree with your workaround.
It may certainly work for pure assembly, but not assembly code that must be pre-processed by the C pre-processor. Indeed, the fundamental difference between a .s and a .S file is the implicit pre-processing stage of the .S file to include files with# include directives and conditionally include code with# if/#ifdef/(etc...) directives. See gcc manual, chapter "3.2 Options Controlling the Kind of Output" : file.s Assembler code. file.S Assembler code which must be preprocessed. I therefore do also consider this to be a bug.