Andes Workshop
http://forum.andestech.com/

如何將library file加入makefile dependency
http://forum.andestech.com/viewtopic.php?f=23&t=870
Page 1 of 1

Author:  banyh [ Thu Jul 24, 2014 12:59 pm ]
Post subject:  如何將library file加入makefile dependency

在project目錄下,有一個 libxxx.a
當這個檔案更新時,build時不會重新link
請問有辦法將這個檔案加入 dependency嗎?

Author:  ianfeng [ Fri Aug 01, 2014 6:47 pm ]
Post subject:  Re: 如何將library file加入makefile dependency

Please set reference in application project property as following picture.
Attachment:
zzz_ap.jpg
zzz_ap.jpg [ 118.17 KiB | Viewed 19625 times ]

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

Author:  maolj [ Fri May 06, 2016 10:38 am ]
Post subject:  Re: 如何將library file加入makefile dependency

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 18604 times ]

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/