User forums > Help
I don't know how to generate a map file.
dedt:
As you no doubt inferred from the subject title, I'm pretty inexperienced with C++ (and programming more generally). I'm trying to generate a map file but I don't know how. From the search I did through the forum, the most I could find out was that I'm supposed to add "-Wl,-Map=main.map" to build options->link settings->other link option, but that didn't seem to do anything.
oBFusCATed:
Why do you think you need a map file?
dedt:
I was asked to generate a map file by my prof.
stahta01:
Did you try this option found on http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html in extra/other linker or compiler options.
--- Code: --- -Wl,-Map,output.map
--- End code ---
Tim S.
dedt:
No, it didn't work unfortunately.
Then again, maybe my expectations about what's supposed to happen are naive. I'm expecting a file to pop up after I run the program. Is this assumption correct?
Navigation
[0] Message Index
[#] Next page
Go to full version