Thread
:
Map File
View Single Post
Jan 31st, 2007, 1:27 AM
#
4
v0id
Hobbyist Programmer
Join Date: Apr 2006
Posts: 155
Rep Power:
3
You've to use the parameter, -Wl, to direct the -Wl's arguments to the linker (ld). Then just use the simple -Map and then a filename for the mapfile.
(
Toggle Plain Text
)
gcc test.c -o test -Wl,-Map,testMap.map
gcc test.c -o test -Wl,-Map,testMap.map
I hope it was what you needed!
__________________
-- v0id
v0id
View Public Profile
Visit v0id's homepage!
Find More Posts by v0id