And thank you Anders for using a better subject line than I did.

Note that the linker options are passed with the -W followed by the letter L in lower case. I first tried it with the digit one and of course it didn't work.

JamesS
Anders Green wrote:
Thanks Ton, totally worked. I just wanted to get this
in the archive with a good title.

keywords: linker
map file
how to get how to make
segments

At 07:43 PM 8/18/2006, Ton van Overbeek wrote:
For a Managed Make project:
Open the project properties.
Select C/C++ Build.
Under Configuration Settings under the PRC-Tools 68K Linker heading
select Miscellaneous.
Select the icon with the 3 '+' signs to the right of 'Additional options'.
In the popup window add the following extra options:
       -Wl,-Map -Wl,projectname.map
Then rebuild the project. This should produce a memory map file
projectname.map.

For a Standard Make project:
Just add the '-Wl,-Map -Wl,<projectname>.map' to the LDFLAGS symbol
in makefile-engine.mk.

(....................................................
.) Anders Green
(....................................................


--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to