masters:
How to see the application's code in linux,because linux is a code-open OS. And how to recompile the Applications or Kernel.
Where does the compiler GCC stay.
...全文
235打赏收藏
Soryy, I am staying in the redhat, use English is needed.
masters: How to see the application's code in linux,because linux is a code-open OS. And how to recompile the Applications or Kernel. Where does the compiler GCC stay.
编译内核
cd /usr/src/linux-2.4(如果没有就是/usr/src/linux)
make menuconfig 然后进入一个菜单,定制内核模块
make dep
make bzImage #编译内核,新的内核在arch/i386/boot/bzImage
make modules #编译模块
make modules_install #安装模块,以前的模块会被删掉