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

Linux——½¨Á¢½»²æ±àÒë»·¾³£¨gcc£©

windowsÖ÷»úºÍLinuxÐéÄâ»úÉèÖÃÎļþ¼Ð¹²Ïí
µÚÒ»²½£º´ò¿ªÐéÄâ»ú µãvm-----install vmtools
µÚ¶þ²½£º¿ªÊ¼ÐéÄâ»úLinux
ÔÚÖն˼üÈëÒ»ÏÂÃüÁî
cp /mnt/cdrom/VMwareTools-6.0.0-45731.tar.gz /usr/tmp
cd /usr/tmp
tar xzvf VMwareTools-6.0.0-45731.tar.gz
cd vmware-tools-distrib
./vmware-install.pl
һ·»Ø³µ£¬µÈ¿´µ½Enjoy Vmtools£¬³É¹¦¡£
µÚÈý²½£ºÅäÖù²ÏíÎļþ¼Ð vm-----settings--options Ë«»÷shared folders£¬ÔÚÅÔ±ßÌí¼ÓÎļþ¼Ð£¬²¢Ñ¡Ôñalways enable £¬ÈçÉèÖù²ÏíÃû³ÆÎª£ºc:\share
µ½ÐéÄâ»úÖеÄLinuxϵͳÖеÄ/mnt/hgfs/share¿ÉÕÒµ½ÔÚwindowsÏÂc:\shareÖеÄËùÓÐÎļþ¡£
³É¹¦ÁË£¬¹þ¹þ
½¨Á¢½»²æ±àÒë»·¾³
ÔÚWindows  C:/share/    Ìí¼Óarm-linux-gcc-4.3.2.tgz
cd /
cd /mnt/hgfs/share
ls -l
cp /mnt/hgfs/share/arm-linux-gcc-4.3.2.tgz /usr/tmp
cd /usr/temp
tar xvzf arm-linux-gcc-4.3.2.tgz -C /
Ö´ÐиÃÃüÁ½«°Ñ arm-linux-gcc °²×°µ½/usr/loca/arm/4.3.2 Ŀ¼¡£
×¢Ò⣺C ºóÃæÓиö¿Õ¸ñ£¬²¢ÇÒC ÊÇ´óдµÄ£¬ËüÊÇÓ¢Îĵ¥´Ê“Change”µÄµÚÒ»¸ö×Öĸ£¬ÔÚ´ËÊǸıäĿ¼µÄÒâ˼¡£
Step2£º°Ñ±àÒëÆ÷·¾¶¼ÓÈëϵͳ»·¾³±äÁ¿£¬ÔËÐÐÃüÁî
#gedit /root/.bashrc
±à¼­/root/.bashrc Îļþ£¬ÔÚ×îºóÒ»ÐÐexport PATH=$PATH:/usr/local/arm/4.3.2/bin
±£´æÍ˳ö¡£
ÖØÐµÇ¼ϵͳ(²»±ØÖØÆô»úÆ÷£¬¿ªÊ¼->logout ¼´¿É)£¬Ê¹ÒÔÉÏÉèÖÃÉúЧ£¬ÔÚÃüÁîÐÐÊäÈëarm-linux-gcc –v£¬»á³öÏÖÈçÏÂÐÅÏ¢£¬Õâ˵Ã÷½»²æ±àÒë»·¾³ÒѾ­³É¹¦°²×°¡£


Ïà¹ØÎĵµ£º

½ñÌìÎÒÍêÃÀÐ¶ÔØÁËLinux²Ù×÷ϵͳ£¡£¡£¡

     ½ñÌìÎҳɹ¦µÄÐ¶ÔØÁËLinux ²Ù×÷ϵͳ£¬ÎҸоõºÜÐË·Ü£¬¾Í´ËÎÒ°ÑÎÒ×öµÄ¹ý³Ì˵Ï¡£
     ÎҵĵçÄÔ×°ÁË˫ϵͳÏÈ×°µÄÊÇWindows XP SP3ϵͳ£¬ºóÀ´ÔÚÒ»¸ö10GµÄÂß¼­·ÖÇøÖÐ×°Á˸öMandriva-linux-2008£¬Ìý˵Linuxϵͳ²»ÄÜËæ±ãɾ³ý£¬ÄÇÑù¿ÉÄÜ»áÆÆ»µÓ²ÅÌÖ÷Òýµ¼¼Ç¼£¨mbr£©£¬Òò´ËÎÒ¾ÍÔÚÍøÉÏ ......

¡¾×ª¡¿Ó¦Óà Valgrind ·¢ÏÖ Linux ³ÌÐòµÄÄÚ´æÎÊÌâ


 
 
 
 
¼¶±ð£º ³õ¼¶
Ñî ¾­ (cdlyangj@cn.ibm.com), Èí¼þ¹¤³Ìʦ, IBM
2008 Äê 11 ÔÂ 27 ÈÕ
ÈçºÎ¶¨Î»Ó¦ÓóÌÐò¿ª·¢ÖеÄÄÚ´æÎÊÌ⣬һֱÊÇ inux Ó¦ÓóÌÐò¿ª·¢ÖÐµÄÆ¿¾±ËùÔÚ¡£ÓÐÒ»¿î·Ç³£ÓÅÐãµÄ linux Ï¿ªÔ´µÄÄÚ´æÎÊÌâ¼ì²â¹¤¾ß£ºvalgrind£¬Äܹ»¼«´óµÄ°ïÖúÄã½â¾öÉÏÊöÎÊÌâ¡£ÕÆÎÕ valgrind µÄʹÓÃÒÔ¼°¹ ......

Linux´´½¨Ò»¶¨´óСÎļþÃüÁî

ddÃüÁî
°ÑÖ¸¶¨µÄÊäÈëÎļþ¿½±´µ½Ö¸¶¨µÄÊä³öÎļþÖУ¬²¢ÇÒÔÚ¿½±´µÄ¹ý³ÌÖпÉÒÔ½øÐиñʽת»»¡£Óï·¨£º
CODE:[Copy to clipboard]dd ¡²Ñ¡Ï
QUOTE:
if =ÊäÈëÎļþ£¨»òÉ豸Ãû³Æ£©¡£
of =Êä³öÎļþ£¨»òÉ豸Ãû³Æ£©¡£
ibs = bytes Ò»´Î¶ÁÈ¡bytes×Ö½Ú£¬¼´¶ÁÈ뻺³åÇøµÄ×Ö½ÚÊý¡£
skip = blocks Ìø¹ý¶ÁÈ뻺³åÇø¿ªÍ·µÄibs*blo ......

LinuxÄÚºËÖÐARMÖжÏʵÏÖÏê½ârequest_irq£¨£©

ÔÚlinuxÄÚºËÖÐÓÃÓÚÉêÇëÖжϵĺ¯ÊýÊÇrequest_irq£¨£©£¬º¯ÊýÔ­ÐÍÔÚKernel/irq/manage.cÖж¨Ò壺
int request_irq(unsigned int irq, irq_handler_t handler,
                         unsigned ......

Linux——samba·þÎñÅäÖÃÏê½â

1 ²é¿´µ±Ç°°²×°sambaûÓУ¬
ÃüÁrpm -qa | grep samba
ÓÐ3¸öÎļþÈ磺samba¡¢common¡¢clientÔò±íÃ÷³É¹¦°²×°ÁË
·ñÔò£ºÓÃÃüÁîrpm -ivh samba*.rpm°²×°sambaÈí¼þ°ü¡£
2 °²×°Íêºó¶àÊý¶¼±£´æÔÚ/etc/sambaĿ¼Ï£¬Ä¿Â¼ÏÂÓÐÒ»¸ösmb.confµÄÎļþ£¬
ËüÊÇsamba·þÎñµÄºËÐÄÎļþ£¬ËùÓÐÅäÖö¼ÔÚÕâÀïÐ޸ġ£
ÆäÖаüÀ¨smbdºÍnmbdÁ½¸ö³ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ