Thanks CrasyCat!
Can I do this for _main or is it a special case?
R
Hello
Well as far as I know you have to do it for all symbols with external scope (i.e. all symbols which are not static).
I am not sure if you need to do it also for static objects.
Just as an additional tip. To detect which is the linkage (or internal) name the compiler or assembler is assigning to a symbol:
- Click with the right mouse button on the source file name in the.mcp window.
- In the pop up menu select "Disassemble"
- You will see a new window with disassembly listing.
- Look at the Symbol Table there and search your function (or variable name).
You will see the actual linkage name in the symbol table.
If you are building in C++, you will also see the real object name there
CrasyCat