How to create a file with symbols in GCC

Status
Not open for further replies.

mscaff

Junior Member level 3
Joined
Jun 19, 2001
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Brasil
Activity points
138
Hi,

How do I create a file that contains the simbols in my source and its absolute positions ?

I'm using the MSPGCC and i'd like something like a .map and/or a .sym file.

thanks.
 

gcc mapfile

If You are aware of what .map or .sym file is what else do you need?
it's not clear
 

gcc sym file

I don't know MSPGCC, but in regular GCC you generate a symbol map file like this:
gcc -Wl,-Map=mapfile.map foo.c

Here's the linker manual:
**broken link removed**
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…