Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get C++ Link map to a file?

807575May 12 2008 — edited May 12 2008
Hi,

Each time I build a Release version of my C++ project I'd like to save a linker map into the dist folder. I can use --print-map as a Linker command line option however it prints the map to stdout which is the Sunstudio Output window. If I try using -Map filename then I get errors from CC.

Does anyone know how to this?

Thanks, Colin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2008
Added on May 12 2008
3 comments
216 views