- 博客(2)
- 收藏
- 关注
原创 linux静态库的几种链接方式
在项目中遇到隐蔽一个问题,如下:按上面的方式进行链接,提示一直找不到-lipc_server,后面发现是由于生成的库没有加lib前缀导致的,应该要这种格式libipc_server.a,但是另一种方式可以链接ipc_server.a这种形式的库,如下:这种方式直接指定对应的库就行了。总结一下:1、以-L,-l指定库时,gcc会在对应的路径搜索有lib前缀的库,所以生成的
2016-09-22 16:53:28 8445
原创 ALSA缓存的理解
“ALSA uses the ring buffer to store outgoing (playback) and incoming (capture, record) samples. There are two pointers being maintained to allow a precise communication between application and device
2016-09-19 18:00:59 1843
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人