--- Quote Start ---
for nios2-elf-gcc you should add:
-Wl,-Map -Wl,"mymap.map"
nios2-elf-g++ is probably the same
--- Quote End ---
I found the problem. I inserted a space between Wl, and -Map and I eventually discovered this is not allowed.
--- Quote Start ---
BTW, AFAIR Nios2 EDS build tools generate map by default.
What set of tools are you working with. Legacy Nios2 IDE? Better stop right now, for anything above toy size it's painful.
--- Quote End ---
I couldn't find any default generated map (that's why I wanted the -Map option).
However, AFAIK I'm using Nios2 EDS (9.0 sp2), although inside the tools every reference is Nios2 IDE. I have a reference to Nios2 EDS only in the start menu. Is this correct? What's the difference between EDS and IDE?
I apologize for the very silly question, but so far I used Nios tools only at a very basic level.
Cris