LinuxÄÚºËÈëÃÅ£¨Èý£©—— CÓïÑÔ»ù±¾¹¦
linuxÊÇÒ»¸ö¸´ÔÓµÄÈí¼þϵͳ£¬ÆäÄÚºËÔ´´úÂëÍùÍù»áÓõ½Ò»Ð©ÔÚÓ¦ÓóÌÐòÉè¼ÆÖв¿³£¼ûÓïÑԳɷֺͱà³Ì¼¼ÇÉ£¬ÕâЩ¶¼ÊÇ·ÖÎöÄÚºËÔ´´úÂëµÄ»ù±¾¹¦£¬Ï£Íû´ó¼ÒÄÜÖØµãÕÆÎÕ¡£
Ê×ÏÈ£¬gcc±àÒëÆ÷´ÓÓïÑÔÀïÎüÊÕÁË“inline”ºÍ“const”¡£inlineº¯ÊýµÄ´óÁ¿Ê¹Óã¬ÓÐÀûÓÚÌá¸ßÔËÐÐЧÂÊ£¬ÓÉ´ËÏ൱һ²¿·Ö´úÂë´Ó.cÎļþÒÆÈëÁË.hÎļþ¡£
gccÔö¼ÓÁËÒ»ÖÖеĻù±¾Êý¾ÝÀàÐÍ“long
long int”ÓÃÓÚÖ§³Ö64λCPU½á¹¹¡£
Ðí¶àCÓïÑÔ¶¼Ö§³ÖһЩ“ÊôÐÔÃèÊö·û”£¬Èç“aligned”£¬“packed”µÈ¡£Ï൱ÓÚһЩеı£Áô×Ö¡£µ«ÊÇ£¬ÔÚÔÀ´µÄCÓïÑÔÕâЩ´Ê²¢·Ç±£Áô×Ö£¬¶øÊÇÒ»
ЩÆÕͨµÄ±äÁ¿£¬ÕâÑù¾Í»á²úÉúһЩ³åÍ»¡£ÀýÈ磺inlineÔÚÀϵĴúÂëÖÐÒѾÊÇ×÷Ϊ±äÁ¿ÔÚʹÓÃÁË£¬ÎªÁ˽â¾öÕâ¸öÎÊÌ⣬gcc½«×÷Ϊ±£Áô×ֵēinline”
Éè¼Æ³É__inline__£¬ÕâÑù¾Í²»»á³åÍ»ÁË¡£
gcc»¹Ö§³ÖÒ»¸ö±£Áô×Ö“attribute”£¬ÓÃÀ´×÷ÊôÐÔÃèÊö¡£È磺attribute__
<<packed>>£¬ÕâÑùpacked¾Í³ÉΪÊôÐÔÃèÊö·û£¨Ò»ÖÖÌØÊâ±£Áô×Ö£©¶ø·Ç±äÁ¿ÁË¡£
gccÖÐÓдóÁ¿¶Ôºê²Ù×÷µÄʹÓ㬴ó¼Ò¿Ï¶¨»á¶ÔÄں˴úÂëÖеÄһЩºê²Ù×÷µÄ¶¨Ò巽ʽ¸Ðµ½²»½â£¬È磺
#define DUMP_WRITE(addr, nr) do{ memcpy(bufp,addr,nr);
bufp+=nr;}while(0)
ÕâÊDZØÐëµÄ£¬ÊÇΪÁË·ÀÖ¹ÔÚIF-ELSEÓï¾äÖÐʹÓøú궨Òåʱ·¢Éú´íÎó¡£
linuxÄں˴úÂëÖдóÁ¿Ê¹ÓÃÁ´±í£¬µ«ÆäʹÓ÷½·¨ÓëÎÒÃÇÔÚ¡¶Êý¾Ý½á¹¹¡·ÖÐѧµ½µÄ²»´óÒ»Ñù£¬´ó¼Ò¿ÉÒԻعËÒ»ÏÂÎÒÃÇÔÚ¿ÎÌÃÉÏѧϰÁ´±íµÄʱºò£¬Í¨³£³ýÁË¶ÔÆäÊý¾Ý
½á¹¹½øÐÐÁ˶¨Ò壬»¹¶¨ÒåÁËÈô¸É¶Ô¸Ã½á¹¹µÄ²Ù×÷¡£µ«¶ÔÓÚ´óÁ¿Ê¹ÓÃÁ´±íµÄlinuxÄÚºËÀ´Ëµ£¬Èç¹û¶¨ÒåÁËÒ»¸ö½á¹¹¾ÍÒª¶¨ÒåÆäÏà¹ØµÄ²Ù×÷µÄ»°£¬ÏÔÈ»´úÂëÁ¿²»Ð¡¡£
ΪÁËÌá¸ßЧÂÊ£¬Äں˲ÉÓÃÁËÒ»Ì×ͨÓõģ¬Ò»°ãµÄ£¬¿ÉÒÔÓõ½¸÷ÖÖ²»Í¬Êý¾Ý½á¹¹µÄ¶ÓÁвÙ×÷¡£ÔÚinclude/linux/ list.hÖУ¬ÓÐÈçÏÂÉêÃ÷£º
st
Ïà¹ØÎĵµ£º
ȨÏÞÓëÎļþϵͳ°²È«
1,“ls -l”ÃüÁîÊä³ö½á¹ûÖи÷×ֶκ¬Ò壺
(1),ÎļþÀàÐÍ£¬µÚ1루“-”ÆÕͨÎļþ¡¢“d”Ŀ¼Îļþ¡¢“l”·ûºÅÁ´½ÓÎļþ¡¢“b”¿ìÉ豸Îļþ¡¢“c”×Ö·ûÉ豸Îļþ¡¢“p”¹ÜµÀÎļþ¡¢“s”socketÎļþ£©
(2),ȨÏÞ£¬µÚ2ÖÁ10루 ......
Ç°ÃæÒ²ÓнéÉܹýAdobe AIR£¬²»¹ýÊÇWindowsƽ̨£¬×î½üÓÐһʷ³ÐÄ£ºLinuxQQÌ«À¬»ø£¬wine qqÌ«Âý£¬web qq²»·½±ã£¬ÄÇÔõô°ìÄØ£¿
ÎÒÏëµ½ÁËair¡£
Ê×Ïȵ±È»ÒªÏÂÔØsdkºÍruntime£ºhttp://www.adobe.com/cn/products/air/tools/sdk/
×îÖØÒªµÄÊÇÏÈÏÂÔØruntime£¬ÔÚÍøÕ¾µÄ×îµ×²¿Óиö
Á¢¼´ÏÂÔØ Adobe AIR
ÕâÑùµÄÁ´½Ó£¬µã½øÈ¥¾ÍÊÇÏÂÔØÁ ......
ǰÌ᣺linuxÔÚÐéÄâ»úÉÏ£¬Ôݲ»ÖªµÀ²»ÔÚÐéÄâ»úÉÏÇé¿öÊÇÔõÑùµÄ¡£Ê¹ÓÃhost£onlyÁªÍø¡£
1.°²×°serv-u
2.linuxÉÏÉèÖÃip£¬Ê¹Ö®ÓëwindowÉÏVmnet1Á¬½ÓµÄipÔÚÒ»¸öÍø¶Î¡£ÔÒò¿ÉÄÜÊÇ£¬winÉϵÄVmnet1Ï൱ÓÚÖ÷»ú£¨192.168.1.1£©¡£
vi /etc/sysconfig/network-scripts/ifcfg-eth0 £º
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR ......
LinuxÖж¨Ê±Æ÷µÄË㷨ʵÏÖ
¶¨Ê±Æ÷µÄ×÷ÓÃ
¶¨Ê±Æ÷ÔÚ²Ù×÷ϵͳÖÐÆðµ½Á˾Ù×ãÇáÖØµÄ×÷Óá£ÔÚ×öIO²Ù×÷ʱ£¬ÐèÒª³¬Ê±»úÖÆ±£Ö¤ÈÎÎñ²»´¦ÓÚÎÞÐÝÖ¹µÄµÈ´ý״̬£»ÔÚÑÓʱ´¦Àíʱ£¬¿ÉÒÔͨ¹ý“Äֱ픽øÐÐÏà¶Ô×¼µãµÄ»½ÐѲÙ×÷¡£ÔÚ¶àÈÎÎñ²Ù×÷ϵͳÖУ¬¶¨Ê±Æ÷ÊÇÒ»Öַdz£³£ÓõÄ×ÊÔ´¡£
¶ÔÓÚÊìϤӲ¼þ ......
ÄÚºËÅäÖúܷÑÊÂ,Ñ¡ÏîÌ«¶àÁË,×îºÃÓÃĬÈϵÄ.ÔÚlinux-2.6.10/archÏÂÓÐºÜ¶à¹ØÓÚ¸÷ÖÖ»ú×ÓµÄÅäÖÃ:
alpha cris ia64 m68knommu ppc sh sparc64 x86_64
arm h8300 m32r mips &n ......