I tried the option -c "compile and assemble but do not link" in NIOS II IDE. That doesn't work.
I changed the C/C++ build properties , compiler flags = -c
See the following screenshot :
make -s all
Compiling MAIN.c...
Compiling alt_irq_register.c...
Compiling alt_main.c...
Linking IRQ_CHECK.elf...
nios2-elf-g++: cannot specify -o with -c or -S and multiple compilations
make: *** [IRQ_CHECK.elf] Error 1
Build completed
I really don't think that option :
S Compile only; do not assemble or link
is the rigth one - I'd like to see whats the assembled output of my C-source.
I think it is even a problem to change this under NIOS IDE II ?
Thank for help.