Ubuntu 18.04 编译 liburing

First, you have to clone the repo:
git clone https://github.com/axboe/liburing.git

Then you can build:

make -C ./liburing

After that, you can compile your program.c with liburing:

gcc program.c -o ./program -I./liburing/src/include/ -L./liburing/src/ -Wall -O2 -D_GNU_SOURCE -luring 


内容来自:c++ - how to build liburing - Stack Overflow
posted @ 2023-02-01 13:05  秋天的太阳  阅读(231)  评论(0)    收藏  举报