文章分类 -  GUN工具链

摘要:在linux上执行gcc thread.c, 结果出现编译错误undefined reference to 'pthread_create'。由于pthread库不是标准linux库, 所以出错。 改为gcc thread.c -lpthread 即可。 阅读全文
posted @ 2021-09-10 15:34 一只小菜菜鸟 阅读(880) 评论(0) 推荐(0)