ÔÚLinux»·¾³Ïµ÷ÊÔ¾²Ì¬¿â
ÕâÁ½ÌìͬÊÂÔÚOcteon¿ª·¢°åÉϵ÷ÊÔLinux³ÌÐò£¬Óöµ½ÁËÒ»¸öÎÊÌ⣺ÎÞ·¨ÈÃgdbµ¥²½¸ú×Ù½øÈ뾲̬¿â£¨libcrypto.aºÍlibcvmx.a£©¶ÔÓ¦µÄÔ´Îļþ¡£
ÎÒ×Ô¼ºÔÚPCÉÏдÁËÒ»¸öС³ÌÐò½øÐÐÑéÖ¤£¬·¢ÏÖ¹ûÈ»ÊÇÕâÑù¡£Èç¹û°ÑÈ«²¿.oÎļþ£¨ÓÃ-ggdb3Ñ¡Ïî±àÒ룬´øµ÷ÊÔÐÅÏ¢£©Ö±½Ó±àÒë³É¿ÉÖ´ÐÐÎļþ£¬ÊÇ¿ÉÒÔ¸ú×Ù½øÈë.oÎļþ¶ÔÓ¦µÄÔ´ÎļþµÄ£»Èç¹ûÏÈ°ÑÆäÖм¸¸ö.oÎļþÓÃarÃüÁî´ò°ü³É¾²Ì¬¿â£¬ÔÙºÍÖ÷³ÌÐòµÄ.oÎļþÒ»Æð±àÒë³É¿ÉÖ´ÐÐÎļþ£¬gdb¾Í¸ú×Ù²»½øÈ¥ÁË¡£
¹Û²ìÁËÒ»ÏÂ.aÎļþºÍ.oÎļþµÄ´óС£¬ÎÒ·¢ÏÖ.aÎļþµÄÌå»ýԶԶСÓÚÈ«²¿.oÎļþµÄ×ܺͣ¬¿´À´ÊÇÔÚ´ò°üµÄ¹ý³ÌÖаѵ÷ÊÔÐÅϢŪ¶ªÁË¡£ÉÏÍø²éÁËһϣ¬·¢ÏÖֻҪʹÓÃ-s£¨Ð¡Ð´s£¬²»ÊÇ´óдS£©Ñ¡Ï¾Í¿ÉÒÔÔÚ.aÎļþÖб£Áô·ûºÅÐÅÏ¢¡£
ÓÚÊÇÏÈÐÞ¸Ä$OCTEON_ROOT/components/crypto-api/core/crypto.mkÎļþµÄµÚ22ÐУ¬½«“CFLAGS_CRYPTO += -O2”¸ÄΪ“CFLAGS_CRYPTO += -ggdb3”£¬ÔÙÐÞ¸Ä$OCTEON_ROOT/components/crypto-api/core/crypto/crypto.mkÎļþµÄµÚ146ÐУ¬½«“$(AR) -r $@ $^”¸ÄΪ“$(AR) -rs $@ $^”£¬½Ó׎øÈë$OCTEON_ROOT/components/crypto-api/core/test-apiĿ¼½øÐбàÒ룬¾Í¿ÉÒԵõ½ÐµÄlibcrypto.a£¨Ìå»ý±ÈÔÏÈÅòÕÍÁ˼¸Ê®±¶£¬³¬¹ýÁË100M£©£¬×îºóÔÚEclipseÖÐÌí¼ÓÔ´ÎļþËÑË÷·¾¶£¨$OCTEON_ROOT/components/crypto-api/core£¬°üº¬×ÓĿ¼£©£¬gdb¾ÍÄÜÕýÈ·¸ú×Ù½øÈëlibcrypto.a¶ÔÓ¦µÄÔ´ÎļþÁË¡£
¶ÔÓÚlibcvmx.aÓ¦¸ÃÒ²¿ÉÒÔ½øÐÐÀàËƵĴ¦Àí£¬²»¹ý¹À¼ÆÌå»ý»á³¬¹ý300MÁË£¬ÓÐÐËȤµÄ¶ÁÕß¿ÉÒÔ³¢ÊÔһϡ£
Ïà¹ØÎĵµ£º
ÎÒÃÇÖªµÀ£¬ÔÚlinuxÏ£¬ÎÒÃÇÓÃerrnoÀ´²é¿´API·µ»ØµÄ´íÎóÂ룬²¢ÓÃstrerror(errno)À´»ñµÃ´íÎóÐÅÏ¢¡£
¶øÔÚwindowsÏÂÒ²ÓÐÕâµÄ´íÎóÂ룬¿ÉÒÔÓÃGetLastError
À´»ñµÃ£¬ÔÚwindowsÏ£¬Òª»ñµÃ´íÎóÂë¶ÔÓ¦µÄÐÅÏ¢¾ÍûÓÐlinuxÏÂÄÇô·½±ãÁË¡£
Æä»ñµÃ·½Ê½¿ÉÒԲο¼¡¶windowsºËÐıà³Ì¡·¡£
µ«ÎÒÃÇÒ²¿ÉÒÔÓÃlinuxϵÄapiÀ´»ñµÃwindowsϵĴíÎóÐ ......
linux 2.6Äں˽ø³Ì¹ÜÀí
linuxÿ¸ö½ø³Ì¶ÔÓ¦Ò»¸ötask_structÀàÐͽṹ¡£¸Ã½á¹¹°üº¬½ø³ÌÏà¹ØµÄËùÓÐÐÅÏ¢¡£linux½ø³Ìͨ¹ýlist_head×é֯˫ÏòÁ´±í£¬Ã¿Ò»¸ö½áµã¾ÍÊÇÒ»¸ö½ø³ÌÃèÊö·û¡£½ø³ÌÃèÊö·ûÀïÃæ°üº¬Á˽ø³ÌËùÓеÄÐÅÏ¢£º½ø³ÌËù´ò¿ªµÄÎļþ¡¢½ø³ÌµÄµØÖ·¿Õ¼ä¡¢¹ÒÆðÐźš¢½ø³Ì״̬ºÍÆäËû¸ü¶àµÄÐÅÏ¢¡£ÒÔÏÂÊǽø³ÌÃèÊö· ......
ת×Ô£ºhttp://blog.itpub.net/post/33256/413374/
ÔõôÑùÔÚºìñÆóÒµLinux2.1ÉÏÅäÖÃVNC?
ÔõÑùÅäÖÃVNC·þÎñÆ÷ʹÆäÄÜÔÚºìñÆóÒµLinux3ϵͳÒýµ¼Ê±×Ô¶¯Æô¶¯?
Ôõ
ôÑùÔÚºìñÆóÒµLinux2.1ÉÏÅäÖÃVNC?
½â¾ö·½·¨:1. Ê×ÏÈ£¬ÎÒÃÇÐèÒª²é¿´ÊÇ·ñÒѾ°²×°ÁËÐèÒªµÄVNC°ü¡£×÷Ϊ¸ùÓû§£¬ÔËÐÐÕâ¸öÃüÁ
rpm
-qa | grep vnc
Èç¹ûRPMÃ ......