linuxÏÂConfigureÃüÁî
ZZTµÄ£¬×ö¸ö±Ê¼Ç¡£ÒÔ±¸²é¿´¡£
linuxÏÂConfigureÃüÁî
http://hi.baidu.com/wanyinglong/blog/item/3d4eb9fd08d5a91e08244d34.html
2009-04-19 22:18
‘configure’½Å±¾ÓдóÁ¿µÄÃüÁîÐÐÑ¡Ïî.¶Ô²»Í¬µÄÈí¼þ°üÀ´Ëµ,ÕâЩѡÏî¿ÉÄÜ»áÓб仯,µ«ÊÇÐí¶à»ù±¾µÄÑ¡ÏîÊDz»»á¸Ä±äµÄ.´øÉÏ’–help’ Ñ¡ Ïî
Ö´ÐÐ’configure’½Å±¾¿ÉÒÔ¿´µ½¿ÉÓõÄËùÓÐÑ¡Ïî.¾¡¹ÜÐí¶àÑ¡ÏîÊǺÜÉÙÓõ½µÄ,µ«Êǵ±ÄãΪÁËÌØÊâµÄÐèÇó¶øconfigureÒ»¸ö°üʱ,ÖªµÀËûÃǵÄ
´æÔÚÊǺÜÓÐÒæ´¦µÄ.ÏÂÃæ¶Ôÿһ¸öÑ¡Ïî½øÐмòÂԵĽéÉÜ:
–cache-file=FILE
‘configure’»áÔÚÄãµÄϵͳÉϲâÊÔ´æÔÚµÄÌØÐÔ(»òÕßbug!).ΪÁ˼ÓËÙËæºó½øÐеÄÅäÖÃ,²âÊԵĽá¹û»á´æ´¢ÔÚÒ»¸öcache fileÀï.µ±configure
Ò»¸öÿ¸ö×ÓÊ÷ÀﶼÓÐ’configure’½Å±¾µÄ¸´ÔÓµÄÔ´ÂëÊ÷ʱ,Ò»¸öºÜºÃµÄcache fileµÄ´æÔÚ»áÓкܴó°ïÖú.
–help
Êä³ö°ïÖúÐÅÏ¢.¼´Ê¹ÊÇÓоÑéµÄÓû§Ò²Å¼¶ûÐèҪʹÓÃʹÓÃ’–help’Ñ¡Ïî,ÒòΪһ¸ö¸´ÔÓµÄÏîÄ¿»á°üº¬¸½¼ÓµÄÑ¡Ïî.ÀýÈç,GCC°üÀïµÄ’configure
’½Å±¾¾Í°üº¬ÁËÔÊÐíÄã¿ØÖÆÊÇ·ñÉú³ÉºÍÔÚGCCÖÐʹÓÃGNU»ã±àÆ÷µÄÑ¡Ïî.
–no-create
‘configure’ÖеÄÒ»¸öÖ÷Òªº¯Êý»áÖÆ×÷Êä³öÎļþ.´ËÑ¡Ïî×èÖ¹’configure’Éú³ÉÕâ¸öÎļþ.Äã¿ÉÒÔÈÏΪÕâÊÇÒ»ÖÖÑÝÏ°(dry run),¾¡¹Ü»º´æ
(cache)ÈÔÈ»±»¸ÄдÁË.
–quiet
–silent
µ±’configure’½øÐÐËûµÄ²âÊÔʱ,»áÊä³ö¼òÒªµÄÐÅÏ¢À´¸æËßÓû§ÕýÔÚ×÷ʲô.ÕâÑù×÷ÊÇÒòΪ’configure’¿ÉÄÜ»á±È½ÏÂý,ûÓÐÕâÖÖÊä³öµÄ »°Óû§
½«»á±»ÈÓÔÚÒ»ÅÔÒÉ»óÕýÔÚ·¢Éúʲô.ʹÓÃÕâÁ½¸öÑ¡ÏîÖеÄÈκÎÒ»¸ö¶¼»á°ÑÄãÈÓµ½Ò»ÅÔ.(Òë×¢:ÕâÁ½¾ä»°±È½ÏÓÐÒâ˼,ÔÎÄÊÇÕâÑùµÄ:If there
was no such output, the user would be left wondering what is happening. By using this option, you too can be
left wondering!)
–version
´òÓ¡ÓÃÀ´²úÉú’configure’½Å±¾µÄAutoconfµÄ°æ±¾ºÅ.
–prefix=PEWFIX
‘–prefix’ÊÇ×î³£ÓõÄÑ¡Ïî.ÖÆ×÷³öµÄ’Makefile’»á²é¿´Ëæ´ËÑ¡Ïî´«µÝµÄ²ÎÊý,µ±Ò»¸ö°üÔÚ°²×°Ê±¿ÉÒÔ³¹µ×µÄÖØа²ÖÃËûµÄ½á¹¹¶ÀÁ¢²¿ ·Ö. ¾Ù
Ò»¸öÀý×Ó,µ±°²×°Ò»¸ö°ü,ÀýÈç˵Emacs,ÏÂÃæµÄÃüÁ»áʹEmacs Lisp file±»°²×°µ½”/opt/gnu/share”:
$ ./configure –prefix=/opt/gnu
–exec-prefix=E
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
How to change the hostname of a Linux system
Normally we will set the hostname of a system during the installation process. Many peoples don’t care about this, and don’t change the hostname even if for example this was set to something really stupid by the datacenter that installed the ......
LinuxÄں˹¹½¨ÏµÍ³ÔÀí
²¿·ÖÒë×Ô£º¡¶Embedded Linux System Design and Development ¡· BY P. Raghavan / Amol Lad / Sriram Neelakandan
Áõ½¨ÎÄÂÔÒ루http://blog.csdn.net/keminlau £©
KEY£ºÄں˹¹½¨ Äں˱àÒë kbuild Linux
ÄÚºËÓëÓ¦ÓóÌÐò·Ö¿ª¹¹½¨
ÄÚºËÓëÓ¦ÓóÌÐò±»Éè¼Æ³É·Ö¿ª¹¹½¨µÄ£¬ÓÉCÍ·ÎļþºÍC¿âʵÏÖ£ ......
Ò»¡¢Makefile½éÉÜ
¡¡¡¡MakefileÊÇÓÃÓÚ×Ô¶¯±àÒëºÍÁ´½ÓµÄ£¬Ò»¸ö¹¤³ÌÓкܶàÎļþ×é³É£¬Ã¿Ò»¸öÎļþµÄ¸Ä±ä¶¼»áµ¼Ö¹¤³ÌµÄÖØÐÂÁ´½Ó£¬µ«ÊDz»ÊÇËùÓеÄÎļþ¶¼ÐèÒªÖØбàÒ룬MakefileÖмͼÓÐÎļþµÄÐÅÏ¢£¬ÔÚmakeʱ»á¾ö¶¨ÔÚÁ´½ÓµÄʱºòÐèÒªÖØбàÒëÄÄЩÎļþ¡£
¡¡¡¡MakefileµÄ×ÚÖ¼¾ÍÊÇ£ºÈñàÒëÆ÷ÖªµÀÒª±àÒëÒ»¸öÎļþÐèÒªÒÀÀµÆäËûµÄ ......