Linux xorg-server 解析(一)- 编译安装Debug版本的xorg-server
一:下载代码
1. 配置源,以Ubuntu24.04 为例( /etc/apt/sources.list.d/ubuntu.sources):
2. apt source xserver-xorg-core
二:编译代码
1. sudo apt build-dep ./
2. DEB_BUILD_OPTIONS="nostrip" DEB_CFLAGS_SET="-g -O0" dpkg-buildpackage -rfakeroot