Ubuntu8.04ϱàÒëlinuxÄÚºË
½ñÌì¿´µ½Ê¦ÐÖ¹¤Î»ÉÏÓб¾Linux Kernel In a Nutshell£¬»¹ÊÇȫӢµÄÓ°Ó¡°æ£¬ËùÒԾͽè¹ýÀ´¿´¿´£¬·¢ÏÖÏÖÔÚ¿´Ó¢ÎĵÄÊé½¥½¥ÊÊÓ¦ÁË£¬»¹ÊDZȽÏÈÝÒ׵ģ¬ÊéÖпªÊ¼½éÉÜÈçºÎ±àÒëLinuxÄںˣ¬LinuxÄں˴óÈýµÄʱºòҲѧ¹ý±àÒë¹ý£¬µ«Êǵ±Ê±±àÒë±È½Ï¼òµ¥£¬Õâ´Î¾ö¶¨ÔÙÖØÍ·µ½Î²ºÃºÃ±àÒëһϣ¬Ê×ÏÈÏÂÔØlinux kernel£¬ÔÙÓÃsecureCRTÉÏ´«µ½Ubuntu 8.04ÖУ¬½Ó×Å¿ªÊ¼±àÒë¡£
1£¬tar -xzvf linux-2.6.***
2£¬cd linux-2.6.***
3£¬make menuconfig
Ö´ÐÐÕâÌõÃüÁîʱ£¬³öÏÖÁËÎÊÌ⣬ºóÀ´ÉÏÍø²é£¬²éµ½ÁËÎÊÌ⣬´ð°¸ÈçÏ£º
hi.
It's your distribution. Ubuntu doesn't come with the gcc headers installed. You can't even compile the simplest c application.
All you have to do is to download the headers from the internet. The easisest way would be to use synaptic and to download
the build-essential package.
bye
http://forum.kernelnewbies.org/read.php?10,18,528
ÔÀ´±ØÐë°²×°build-essential£¬°²×°ºÃºó£¬ÎÊÌâ½â¾ö¡£
4£¬Ö´ÐÐ make ÃüÁԴ´úÂë½øÐбàÒë
5£¬make modules_install install
6£¬
Ïà¹ØÎĵµ£º
LinuxÏÂÈí¼þµÄ°²×°ÓëÐ¶ÔØ
Ò»¡¢¶þ½øÖÆ·Ö·¢Èí¼þ°üµÄ°²×°ÓëÐ¶ÔØ
LinuxÈí¼þµÄ¶þ½øÖÆ·Ö·¢ÊÇÖ¸ÊÂÏÈÒѾ±àÒëºÃ¶þ½øÖÆÐÎʽµÄÈí¼þ°üµÄ·¢²¼ÐÎʽ£¬ÆäÓŵãÊǰ²×°Ê¹ÓÃÈÝÒ×£¬È±µãÔòÊÇȱ·¦Áé»îÐÔ£¬Èç¹û¸ÃÈí¼þ°üÊÇÎªÌØ¶¨µÄÓ²¼þ/²Ù×÷ϵͳƽ̨±àÒëµÄ£¬ÄÇËü¾Í²»ÄÜÔÚÁíÍâµÄƽ̨»ò»·¾³ÏÂÕýÈ·Ö´ÐС£
1¡¢*.rpmÐÎʽµÄ¶þ½øÖÆÈí¼þ°ü
°²×°£ºrpm ......
·¢ÏÖ·þÎñÆ÷ϵͳʱ¼äºÍ±ê׼ʱ¼ä²îÁË10¶à·ÖÖÓ,È»ºóÁãµãµÄʱ¼äµ÷ÕûÁËÏÂʱ¼ä¡£¹ýÁ˲¶àÒ»¸öÀñ°Ý·¢Õ¹Êý¾Ý¿âÖмǼµÄʱ¼ä»¹ÊDz»¶Ô£¬ÈçÊÇÓüӰàµ÷ÕûÁËÏÂʱ¼ä¡£¹ýÁË2ÌìÒ»¿´»¹ÊÇʱ¼ä²»¶Ô£¬Ò»²é²Å·¢ÏÖ£º
»úÆ÷ÀïÓÐÁ½¸öʱÖÓ¡£Ó²¼þʱÖÓ´Ó¸ù±¾ÉϽ²ÊÇCMOSʱÖÓ£»¶øÏµÍ³Ê±ÖÓÊÇÓÉÄÚºËά»¤µÄ£¬ËüÊÇ´Ó1969ÄêÄ©£¨¼ ......
¸÷sectionµÄλÖ÷ֲ¼¿´Äں˵ÄÁ´½Ó½Å±¾
D:\KIDE\target\kernel-version\cgel3.0\linux\include\asm-generic\vmlinux.lds.h
D:\KIDE\target\kernel-version\cgel3.0\linux\arch\powerpc\kernel\vmlinux.lds.S
Kernel¾µÏñÆðʼµØÖ·KERNELBASE = 0xc000 0000£¬ÕâÒâζ×ÅÄں˴úÂëºÍÄÚºËÈ«¾Ö±äÁ¿µÈµÄµØÖ·¿Õ¼äÔÚ3g-4gµÄµØ·½£¬
¶ø ......
×¢£ºÕâÆªÎÄÕ±ȽϾɣ¬µ«ÊÇÓÐÒ»¶¨µÄ²Î¿¼¼ÛÖµ~~×Ô¼ºÊÔ¹ýµÄLinux²»¶à£¬ËùÒÔ»¹ÊÇÓÐÒª²Î¿¼µÄµØ·½¡£
ÔÎÄÁ´½Ó£ºhttp://www.linux521.com/2009/newbie/200904/1963.html
ĿǰLinuxÔÚ¹úÄÚ½øÈëÁËÒ»¸ö½Ï¿ìËٵķ¢Õ¹½×¶Î,ÕýÈçÎÒÃÇ¿´µ½µÄ,Ðí¶àµÄWindowsÓû§×ªÍ¶
LinuxÕóÓª.ÓÉÓÚLinux±¾ÉíÊÇÒ»¸ö¿ª·ÅµÄ²Ù×÷ϵͳ,Òò¶øÓµÓÐÖÚ¶àµÄ·¢ÐÐ°æ°æ± ......