Andes Workshop

It is currently Fri Mar 29, 2024 3:10 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: 如何將library file加入makefile dependency
PostPosted: Thu Jul 24, 2014 12:59 pm 
Offline

Joined: Thu Jan 23, 2014 4:18 pm
Posts: 12
在project目錄下,有一個 libxxx.a
當這個檔案更新時,build時不會重新link
請問有辦法將這個檔案加入 dependency嗎?


Top
 Profile Send private message E-mail  
 
 Post subject: Re: 如何將library file加入makefile dependency
PostPosted: Fri Aug 01, 2014 6:47 pm 
Offline

Joined: Wed Apr 13, 2011 7:44 pm
Posts: 23
Please set reference in application project property as following picture.
Attachment:
zzz_ap.jpg
zzz_ap.jpg [ 118.17 KiB | Viewed 19650 times ]

Following is AndeSight demo project for this feature.
Attachment:
zzz_ap.zip [36.73 KiB]
Downloaded 1400 times


Top
 Profile Send private message E-mail  
 
 Post subject: Re: 如何將library file加入makefile dependency
PostPosted: Fri May 06, 2016 10:38 am 
Offline

Joined: Wed Aug 27, 2014 1:00 pm
Posts: 12
about how to use the static library.

1: link the static library, in this case the library name is liblibzzz.a, so just type libzzz, just like if you want to link libm.a, you just need type m.

2: add the search path

Attachment:
library-search-path.png
library-search-path.png [ 66.97 KiB | Viewed 18629 times ]


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

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