Linux²Ù×÷ϵͳµÄÍ·ÎļþºÍ¿âÎļþËÑË÷·¾¶
Ò»¡¢ Í·Îļþ 1 ¡°¡±ÖеÄÍ·Îļþ£¬ÔÚÔ´Îļþµ±Ç°Ä¿Â¼²éÕÒ 2 -I ÖÐÖ¸¶¨Ä¿Â¼ 3 gccµÄ»·¾³±äÁ¿ C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, OBJC_INCLUDE_PATH 4 ±àÒëÆ÷Ô¤Éè·¾¶¡¢ÄÚ¶¨Ä¿Â¼£º /usr/include /usr/local/include /usr/lib/gcc-lib/i386-linux/2.95.2/include /usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g -3 /usr/lib/gcc-lib/i386-linux/2.95.2/../../../../i386-linux/include µ«ÊǼÙÈç×°gccµÄʱºò£¬Óиø¶¨µÄprefixµÄ»°£¬ÄÇô¾ÍÊÇ /usr/include prefix/include prefix/xxx-xxx-xxx-gnulibc/include prefix/lib/gcc-lib/xxxx-xxx-xxx-gnulibc/2.8.1/include ´ËÍâ-I»¹¿ÉÒÔÔÚCFLAGÖÐÖ¸¶¨¡£ »¹¿ÉÓÃpkg-config ³ÌÐò£¬ÓÃÀ´ÔÚ±àÒë½Å±¾ÖÐÏò±àÒëÆ÷´«µÝÍ·Îļþ°üº¬Â·¾¶»ò¿âÎļþ·¾¶¡£ LinuxÏÂÄÇô¶à¿â£¬ÔÚ./configureʱʱÔõôÅжÏËüÃÇ´æ²»´æÔڵģ¬ÄѵÀÊÇ¿¿µÝ¹éËÑË÷£¿pkg-configÕâ¸öÃüÁîºÍ/*/lib/pkgconfigϵÄһЩ.pcÎļþ²ÅÊÇÖ÷½Ç¡£Ã¿¸ö.pcÎļþ¶¨ÒåÁË¿âµÄÃû×Ö¡¢Â·¾¶¡¢±àÒëÑ¡ÏîµÈ£¬±ÈÈçglib-2.0.pcÎļþ£º prefix=/usr exec_prefix=${prefix}
libdir=/usr/lib
includedir=${prefix}/include glib_genmarshal=glib-genmarshal
gobject_query=gobject-query
glib_mkenums=glib-mkenums Name: Glib
Description: C Utilitiy Library
Version: 2.14.4
Libs: -L${libdir} -lglib-2.0
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include --cflags ²ÎÊý¿ÉÒÔ¸ø³öÔÚ±àÒëʱËùÐèÒªµÄÑ¡Ï¶ø --libs ²ÎÊý¿ÉÒÔ¸ø³öÁ¬½ÓʱµÄÑ¡Ïî configureµ½Ä³¸ö¿âµÄʱºò£¬pkg-configÃüÁî»áÊ×ÏÈÈ¥PKG_CONFIG_PATH¶¨ÒåºÃµÄ·¾¶ÏÂËÑË÷¿âÃû×Ö¶ÔÓ¦µÄ.pcÎļþ£¬ÕÒµ½Á˾ÍÐÐÁË£¬µÈ»á¶ùmakeµÄʱºò¾Í¿ÉÒÔͨ¹ýÕýÔò±í´ïʽȡ³ölibsºÍcflagsµÄÖµÀ´Ê¹ÓᣠÅäÖà pkgconfig PKG_CONFIG_PATH µÄȱʡÉèÖÃÊÇ /lib/pkgconfig, /usr/lib/pkgconfig ºÍ /usr/local/lib/pkgconfig. ÕâЩÉèÖö¼ÊÇÓ²±àÂëµÄ£¬ËùÒÔ²»ÓÃÁíÍâÉèÖÃËüÃÇ¡£ ¶þ¡¢ ¿âÎļþ Ø ±àÒëµÄʱºò¶¯Ì¬¿âµÄËÑË÷·¾¶: 1 gcc»áÈ¥ÕÒ-L Ö¸¶¨µÄ·¾¶ºÍ –lÖ¸¶¨µÄ¿â 2 ÓÉ'-rpath-link'Ñ¡ÏîÖ¸¶¨µÄËÑË÷·¾¶ ÔÚLDFLAGSÖÐgcc µÄ²ÎÊý"-Wl,-rpath,"Ö¸¶¨ 3 ÓÉ'-rpath'Ö¸¶¨µÄËÑË÷·¾¶. '-rpath'¸ú'-rpath_link'µÄ²»Í¬Ö®´¦ÔÚÓÚ,ÓÉ'-rpath'Ö¸¶¨µÄ·¾¶±»°üº¬ÔÚ¿ÉÖ´ÐÐÎļþÖÐ,²¢ÔÚÔËÐÐʱʹÓÃ, ¶ø'-rpath-link'Ñ¡Ïî½ö½öÔÚÁ¬½ÓʱÆð×÷ÓÃ. 4 ÔÙÕÒÄÚ¶¨Ä¿Â¼ /lib
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
ÄÚ´æ·ÖÅ亯ÊýµÄÑ¡Ôñ
Èç¹ûÄãÐèÒªÁ¬ÐøµÄÎïÀíÒ³£¬¾Í¿ÉÒÔʹÓÃij¸öµÍ¼¶Ò³·ÖÅäÆ÷»òÕßkmalloc()¡£ÕâÊÇÄÚºËÖÐÄÚ´æ·ÖÅäµÄ³£Ó÷½Ê½£¬Ò²ÊÇ´ó¶àÊýÇé¿öÏÂÄã×Ô¼ºÓ¦¸ÃʹÓõÄÄÚ´æ·ÖÅ䷽ʽ¡£´«µÝ¸øÕâЩº¯Êý×î³£ÓõÄÁ½¸ö±êÖ¾ÊÇGFP_AUTOMICºÍGFP_KERNEL¡£GFP_AUTOMIC±íʾ½øÐв»Ë¯ÃߵĸßÓÅÏȼ¶·ÖÅä¡£ÕâÊÇÖжϳÌÐòºÍÆäËû²»ÄÜ˯ÃߵĴúÂë¶ ......
ÕªÒª
LinuxÔÚÏû·Ñµç×ÓÀà²úÆ·Öеõ½Á˹㷺ӦÓã¬ÓÉÓÚǶÈëʽÓû§¶ÔÓÚϵͳÆô¶¯ËٶȽÏΪÃô¸Ð£¬Òò´Ë¿ìËÙÆô¶¯¼¼ÊõÖð½¥³ÉΪÑо¿ºÍÓ¦ÓÃÖеÄÒ»¸öÖص㡣±¾ÎÄͨ¹ý¶ÔǶ
Èëʽ
LinuxµÄÆô¶¯Ê±ÐòºÍÖ÷ÒªÑÓʱÒòËصķÖÎö£¬Õë¶ÔÐÔµØ̽ÌÖÁËÔÚ¸÷¸öÆô¶¯½×¶Î½µµÍʱºÄµÄ¼¼Êõ£¬Öصã·ÖÎöÁËXIP¼¼ÊõºÍXIPÎļþϵͳ£¬²¢¸ø³öÁËÖ÷ÒªµÄʵÏÖ¹ý
³Ì¡£
¹Ø¼ü´ ......