Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÄں˱àÒë¶þ

1.Äں˱àÒë±ØÐëÔÚroot»·¾³Ï£¬¶øUbuntu×°ºóûÓÐrootÓû§£¬ËùÒÔÉèÖÃrootÃÜÂë
 sudo passwd root
2.su»Ø³µ£¬ÊäÈëÃÜÂë¾ÍÊÇÒÔrootÉí·ÝÁË£¬
3.ÏÂÔØlinuxÄں˲¢½«ÆäתÒƵ½/usr/srcÎļþ¼Ð
cp Îļþ /usr/src
4.tar -jxvf linux-2.6.29.4.tar.bz2
 


Ïà¹ØÎĵµ£º

LINUX쵀./configure make make install

ÕâЩ¶¼ÊǵäÐ͵ÄʹÓÃGNUµÄAUTOCONFºÍAUTOMAKE²úÉúµÄ³ÌÐòµÄ°²×°²½Öè¡£
./configureÊÇÓÃÀ´¼ì²âÄãµÄ°²×°Æ½Ì¨µÄÄ¿±êÌØÕ÷µÄ¡£±ÈÈçËü»á¼ì²âÄãÊDz»ÊÇÓÐCC»òGCC£¬²¢²»ÊÇÐèÒªCC»òGCC£¬ËüÊǸöshell½Å±¾
makeÊÇÓÃÀ´±àÒëµÄ£¬Ëü´ÓMakefileÖжÁÈ¡Ö¸ÁȻºó±àÒë¡£
make installÊÇÓÃÀ´°²×°µÄ£¬ËüÒ²´ÓMakefileÖжÁÈ¡Ö¸Á°²×°µ½Ö¸¶¨µÄÎ»Ö ......

Ubuntu Linux gcc °²×° ʹÓ÷½·¨


×¼±¸¹¤×÷
Èç¹ûÄ㻹ûװ±àÒë»·¾³»ò×Ô¼º²»È·¶¨×°Ã»×°£¬²»·ÁÏÈÖ´ÐÐ
sudo apt-get install build-essential
Èç¹ûÄãÐèÒª±àÒë Fortran ³ÌÐò£¬ÄÇô»¹ÐèÒª°²×° gfortran(»ò g77)
sudo apt-get install gfortran
Èç¹ûÄãÒѾ­Á˽âһЩ vim
µÄ֪ʶ£¬¶øÇÒÏëÓÃËüÀ´±à¼­Ô´´úÂ룬ÄÇôÎÒÃDz»·Á×°¸öÍêÕû°æ
sudo apt-get install vi ......

תÔØ linux 2.6Äں˽ø³Ì¹ÜÀí


linux 2.6Äں˽ø³Ì¹ÜÀí
 
 
linuxÿ¸ö½ø³Ì¶ÔÓ¦Ò»¸ötask_structÀàÐͽṹ¡£¸Ã½á¹¹°üº¬½ø³ÌÏà¹ØµÄËùÓÐÐÅÏ¢¡£linux½ø³Ìͨ¹ýlist_head×é֯˫ÏòÁ´±í£¬Ã¿Ò»¸ö½áµã¾ÍÊÇÒ»¸ö½ø³ÌÃèÊö·û¡£½ø³ÌÃèÊö·ûÀïÃæ°üº¬Á˽ø³ÌËùÓеÄÐÅÏ¢£º½ø³ÌËù´ò¿ªµÄÎļþ¡¢½ø³ÌµÄµØÖ·¿Õ¼ä¡¢¹ÒÆðÐźš¢½ø³Ì״̬ºÍÆäËû¸ü¶àµÄÐÅÏ¢¡£ÒÔÏÂÊǽø³ÌÃèÊö· ......

linux Öжϴ¦Àí

Öжϴ¦Àí 
¡¡¡¡Í¬´¦ÀíI/O¶Ë¿ÚÒ»Ñù£¬ÒªÊ¹ÓÃÒ»¸öÖжϣ¬±ØÐëÏÈÏòϵͳµÇ¼Ç¡£ 
int request_irq(unsigned int irq £¬void(*handle)(int£¬void *£¬struct pt_regs *)£¬
unsigned int long flags£¬ const char *device£¬void *dev_id); 
irq ......

Linux ÃüÁîµÄÓ÷¨

¹¦ÄÜ˵Ã÷£º²éÕÒÎļþ¡£
Óï¡¡¡¡·¨£ºwhich [Îļþ...]
²¹³ä˵Ã÷£ºwhichÖ¸Áî»áÔÚ»·¾³±äÁ¿$PATHÉèÖõÄĿ¼Àï²éÕÒ·ûºÏÌõ¼þµÄÎļþ¡£
²Î¡¡¡¡Êý£º
¡¡-n<ÎļþÃû³¤¶È> ¡¡Ö¸¶¨ÎļþÃû³¤¶È£¬Ö¸¶¨µÄ³¤¶È±ØÐë´óÓÚ»òµÈÓÚËùÓÐÎļþÖÐ×µÄÎļþÃû¡£
¡¡-p<ÎļþÃû³¤¶È> ¡¡Óë-n²ÎÊýÏàͬ£¬µ«´Ë´¦µÄ<ÎļþÃû³¤¶È>°üÀ¨ÁËÎļþµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ