Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux emacs c (Ò»£©

²»À뿪EmacsÍê³É¼òµ¥C³ÌÐòµÄ±à¼­±àÒëÔËÐУ¨×ª£©
£¨1£©´ò¿ªEmacs£¬Ö´ÐÐ
$ emacs
£¨2£©½¨Á¢Ò»¸öеijÌÐòÎļþ. Ö´ÐÐ C-x C-f£¬
È»ºóÔÚÆÁÄ»µÄµ×²¿³öÏÖminibuffer£¬¹â±êÌáʾÄãÊäÈëÎļþÃû³Æ£¬
ÎļþÃû³ÆÒª´øÉϺó׺Ãû£¬Èçhello.cpp¡£»Ø³µ£¬È»ºó¿ªÊ¼±à¼­Ô´´úÂë¡£
£¨3£©±àÒë´úÂë¡£Ö´ÐÐEsc-x compile£¬³öÏÖminibuffer£¬ÌáʾÄãÊäÈë±àÒëÃüÁî¡£
ĬÈÏÇé¿öÏ£¬Óиömake -k³öÏÖÔÚminibuffer¡£ÎÒ»¹²»ÖªµÀËýµÄÄ¿µÄ¡£
¸÷λ¸ßÊÖ¿ÉÒÔ¸ø¸öÌáʾ¡£
±ÈÈçÉÏÀý£¬ÓÃÃüÁîg++ -o hello hello.cpp£¬»Ø³µºó£¬³öÏÖÒ»¸ö±àÒë½á¹û´°¿Ú¡£
£¨4£©Ö´ÐÐÉú³ÉµÄ½á¹ûÎļþ¡£Ö´ÐÐEsc-x shell£¬»Ø³µºó³öÏÖÒ»¸öÃüÁîÐд°¿Ú¡£
ÔÚÆäÖÐÖ´ÐÐÃüÁî $ ./hello¡£
£¨5£©»Øµ½Ô´Âë´°¿Ú¡£Ö´ÐÐ C-x b£¬³öÏÖminibuffer£¬ÌáʾÄãÊäÈëÒª»»µ½Äĸö»º³å¡£
ÊäÈ뻺³åÃû³Æ¼´¿É¡£ÈôËýÌáʾµÄÈ´Éú»º³å¾ÍÊÇÄãҪȥµÄ´°¿Ú£¬Ö±½Ó»Ø³µ¼´¿É¡£
£¨6£©²»ÏëÔÚminibufferÖÐÊäÈëÈκζ«Î÷£¬Ö´ÐÐC-g£¬¾ÍÀ뿪ÁËÕâ¸öminibuffer¡£
£¨7£©É±ËÀij¸ö»º³å¡£Ö´ÐÐ C-x k£¬³öÏÖminibuffer£¬ÌáʾÄãÊäÈëÊÇÄĸö»º³å¡£
ÊäÈëÃû³Æ£¬»Ø³µ¼´¿É¡£
£¨8£©Ö»±£Áôµ±Ç°¹â±êËùÔڵĴ°¿Ú£¬ÆäËû´°¿Ú¹Ø±Õ¡£Ö´ÐÐ C-x 1¡£
ÆÁÄ»ÉϳöÏÖ¶à¸ö´°¿Úʱ£¬´ÓÒ»¸ö´°¿ÚÌøµ½ÁíÒ»¸ö´°¿Ú£¬Ö´ÐÐ C-x o£¨×ÖĸO£©¡£


Ïà¹ØÎĵµ£º

Linux µÄ¶àÏ̱߳à³ÌµÄ¸ßЧ¿ª·¢¾­Ñé

2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾­Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......

LinuxÄÚºËÅäÖÃÎĵµ(make menuconfig)

Ò»¡¢ÒýÑÔ£º
    ±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾­Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾­Ñ飨Õâ¸ö»¹µ ......

ÅäÖÿª·¢Ö§³Ö¸ß²¢·¢TCPÁ¬½ÓµÄLinuxÓ¦ÓóÌÐòÈ«¹¥ÂÔ

Ô­Îļû£ºhttp://www.cppblog.com/flashboy/articles/47012.html
1¡¢ÐÞ¸ÄÓû§½ø³Ì¿É´ò¿ªÎļþÊýÏÞÖÆ
   ÔÚLinuxƽ̨ÉÏ£¬ÎÞÂÛ±àд¿Í»§¶Ë³ÌÐò»¹ÊÇ·þÎñ¶Ë³ÌÐò£¬ÔÚ½øÐи߲¢·¢TCPÁ¬½Ó´¦Àíʱ£¬×î¸ßµÄ²¢·¢ÊýÁ¿¶¼ÒªÊܵ½ÏµÍ³¶ÔÓû§µ¥Ò»½ø³Ìͬʱ¿É´ò¿ªÎļþÊýÁ¿µÄÏÞÖÆ(ÕâÊÇÒòΪϵͳΪÿ¸öTCPÁ¬½Ó¶¼Òª´´½¨Ò»¸ösocket¾ä±ú£¬Ã¿¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ