LinuxÏÂconfigureÃüÁî²ÎÊýµÄÏêϸ˵Ã÷
Linux»·¾³ÏµÄÈí¼þ°²×°£¬²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊÂÇé;Èç¹ûͨ¹ýÔ´´úÂë±àÒëºóÔÚ°²×°£¬µ±È»ÊÂÇé¾Í¸üΪ¸´ÔÓһЩ;ÏÖÔÚ°²×°¸÷ÖÖÈí¼þµÄ½Ì³Ì¶¼·Ç³£ÆÕ±é;µ«Íò±ä²»ÀëÆäÖУ¬¶Ô»ù´¡ÖªÊ¶µÄÔúʵÕÆÎÕ£¬°²×°¸÷ÖÖÈí¼þµÄÎÊÌâ¾ÍÓÈжø½âÁË¡£Configure½Å±¾ÅäÖù¤¾ß¾ÍÊÇ»ù´¡Ö®Ò»£¬ËüÊÇautoconfµÄ¹¤¾ßµÄ»ù±¾Ó¦Óá£
ÓëһЩ¼¼ÇÉÏà±È£¬ConfigureÏԵûù´¡Ò»Ð©£¬µ±È»Ê¹ÓúÍѧϰÆðÀ´¾ÍÏԵÿÝÔ﷦ζһЩ£¬µ±È»Òª³ÉΪ¸ßÊÖ£¬¶Ô»ù´¡µÄÊìϤ²»Äܳ¬Ô½Å¶¡£
Ϊ´ËÎÒתÔØÁËһƪ¹ØÓÚConfigureÑ¡ÏîÅäÖõÄÏêϸ½éÉÜ¡£¹©´ó¼Ò²Î¿¼
'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 --
Ïà¹ØÎĵµ£º
´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......
×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......
Linux³ÌÐò²ÎÊý°üÀ¨Á½²¿·Ö£º ÃüÁîÐвÎÊýºÍ»·¾³±äÁ¿
ÃüÁîÐвÎÊý´«µÝ¸ømianº¯Êý int mian (int argc,char *argv[])
»·¾³±äÁ¿ extern char *environ[]
»ñµÃ»·¾³±äÁ¿µÄº¯Êý£º const char* getenv(const char* name)
ÉèÖû·¾³±äÁ¿µÄº¯Êý£º
£¨1£©int putent (const c ......
£¨1£©ÈýÐǵĴ¥ÃþÆÁÇý¶¯s3c-ts.c£º
s3c_ts_init-¡·platform_driver_register(&s3c_ts_driver)£»
static struct platform_driver s3c_ts_driver = {
.probe = s3c_ts_probe,
.dri ......
Ò»Ö±ÒÔÀ´£¬¿ÉÄܺܶàÈëÃÅLinuxµÄÅóÓÑÀ´Ëµ£¬¶¼Òª¿¼ÂǵÄÎÊÌ⣬¾ÍÊǾ¿¾¹Ñ¡Ôñʲô·¢Ðа汾£¬ÔÚÕâÀ½áºÏ¸öÈ˵ÄһЩ¾Ñ飬¸ø´ó¼ÒһЩ½¨Ò飬Ê×ÏÈ£¬ËµÃ÷Ò»
Ï£¬Linux¶¼ÊÇÒ»ÑùµÄÔÀí£¬ÓúÃÒ»¸ö°æ±¾£¬Ò»Àïͨ°ÙÀïÃ÷£¬Ã»ÓÐ˵Äĸö×îºÃ£¬Äĸö²»ºÃµÄ£¬¸ù¾Ý×Ô¼ºµÄ¾ßÌåÐèÇóȥѡÔñ²ÅÊÇÖØÒªµÄ¡£
¡¡¡¡1¡¢¼ÒÓÃ×ÀÃæϵͳ£¬Ê×ÍÆubuntuϵÁУ¬¶ÔÓ²¼ ......