編譯成靜態庫並調用

如何將函數打包成靜態庫並調用呢?linux 1.將要打包的函數放入c文件:函數     watchdog.c: oop struct tq_wdg* tq_init_wdg(char* name, int sec){ ...... } int tq_wdg_loop(struct tq_wdg* wdg, int sec) { ...... } void tq_free_wdg(struct tq
相關文章
相關標籤/搜索