Andes Workshop

It is currently Fri Mar 29, 2024 7:21 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: STD C Project裡產生map檔的方法
PostPosted: Wed Mar 30, 2011 6:42 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
AndeSight裏的project分成2種,一種是不必寫Makefile,由AndeSight自動產生,稱為C Project。
另一種是要由手寫Makefile,稱為STD C Project。

Attachment:
make_map1.gif
make_map1.gif [ 7.7 KiB | Viewed 10036 times ]


因為DhryStone的demo工程,這裏的makefile是用手寫的。所以沒有C/C++ Build這個標籤項。
只要在Makefile裏加入下面的option: -Wl,-Map -Wl,map.txt
再重新make,就可以產生map檔
(下圖經過縮圖較不清楚,點擊圖片可以放大)
Attachment:
make_map.gif
make_map.gif [ 24.65 KiB | Viewed 10036 times ]


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group