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

linux .o a .so .la .loµÄÇø±ð

o: ±àÒëµÄÄ¿±êÎļþ
-X/S3fm'SH]X0
a:
¾²Ì¬¿â£¬Æäʵ¾ÍÊÇ°ÑÈô¸ÉoÎļþ´òÁ˸ö°ü
k
z3noU V
pR0
so: ¶¯Ì¬Á´½Ó¿â£¨¹²Ïí¿â£©Öйúµç×Ó¶¥¼¶¿ª·¢Íø----×îרҵµÄµç
×ÓÂÛ̳¡¢×îרҵµÄµç×Ó¹¤³Ìʦ²©¿ÍL&??,z4i&G&G&S
V
r0^mk zF5o"xC1c0
lo:
ʹÓÃlibtool±àÒë³öµÄÄ¿±êÎļþ£¬Æäʵ¾ÍÊÇÔÚoÎļþÖÐÌí¼ÓÁËһЩÐÅÏ¢Öйúµç×Ó¶¥¼¶¿ª·¢
Íø----×îרҵµÄµç×ÓÂÛ̳¡¢×îרҵµÄµç×Ó¹¤³Ìʦ²©¿ÍH5bE
@C.`}
la: ʹÓÃlibtool±àÒë³öµÄ¿âÎļþ£¬ÆäʵÊǸöÎı¾Îļþ£¬¼Ç¼ͬÃû¶¯Ì¬¿âºÍ¾²Ì¬¿âµÄÏà¹ØÐÅÏ¢
²¹³ä£ºlibtool
1 libtoolµÄ¹¤×÷Ô­Àí
ax f&\p,m z0
libtool
ÊÇÒ»¸öͨÓÿâÖ§³Ö½Å±¾£¬½«Ê¹Óö¯Ì¬¿âµÄ¸´ÔÓÐÔÒþ²ØÔÚͳһ¡¢¿ÉÒÆÖ²µÄ½Ó¿ÚÖУ»Ê¹ÓÃlibtoolµÄ±ê×¼·½·¨£¬¿ÉÒÔÔÚ²»Í¬Æ½Ì¨ÉÏ´´½¨²¢µ÷Óö¯Ì¬¿â¡£¿ÉÒÔÈÏΪ
libtoolÊÇgccµÄÒ»¸ö³éÏó£¬Æä°ü×°ÁËgcc£¨»òÕßÆäËûµÄ±àÒëÆ÷£©£¬Óû§ÎÞÐèÖªµÀϸ½Ú£¬Ö»Òª¸æËßlibtoolÐèÒª±àÒëÄÄЩ¿â¼´¿É£¬libtool
½«´¦Àí¿âµÄÒÀÀµµÈϸ½Ú¡£libtoolÖ»Óëºó׺ÃûΪlo¡¢laΪµÄlibtoolÎļþ´ò½»µÀ¡£
G8S
I.A.tHs%W;X0
Öйúµç×Ó¶¥¼¶¿ª·¢Íø----×îרҵµÄµç×ÓÂÛ̳¡¢
×îרҵµÄµç×Ó¹¤³Ìʦ²©¿Í2FJ+X `kuY,l
libtool
Ö÷ÒªµÄÒ»¸ö×÷ÓÃÊÇÔÚ±àÒë´óÐÍÈí¼þµÄ¹ý³ÌÖнâ¾öÁË¿âµÄÒÀÀµÎÊÌ⣻½«·±ÖصĿâÒÀÀµ¹ØϵµÄά»¤¹¤×÷³Ðµ£ÏÂÀ´£¬´Ó¶øÊÍ·ÅÁ˳ÌÐòÔ±µÄÈËÁ¦×ÊÔ´¡£libtoolÌṩͳ
Ò»µÄ½Ó¿Ú£¬Òþ²ØÁ˲»Í¬Æ½Ì¨¼ä¿âµÄÃû³ÆµÄ²îÒìµÈϸ½Ú£¬Éú³ÉÒ»¸ö³éÏóµÄºó׺ÃûΪla¸ß²ã¿âlibxx.la£¨ÆäʵÊǸöÎı¾Îļþ£©£¬²¢½«¸Ã¿â¶ÔÆäËü¿âµÄÒÀÀµ¹Ø
ϵ£¬¶¼Ð´ÔÚ¸ÃlaµÄÎļþÖС£¸ÃÎļþÖеÄdependency_libs¼Ç¼¸Ã¿âÒÀÀµµÄËùÓп⣨ÆäÖÐÓÐЩÊÇÒÔ.laÎļþµÄÐÎʽ¼ÓÈëµÄ£©£»libdirÔòÖ¸³ö
ÁË¿âµÄ°²×°Î»Öã»library_names¼Ç¼Á˹²Ïí¿âµÄÃû×Ö£»old_library¼Ç¼Á˾²Ì¬¿âµÄÃû×Ö¡£
V3Te#tbQ$A0
Öйúµç×Ó¶¥¼¶¿ª·¢Íø----×îרҵµÄµç×ÓÂÛ̳¡¢×îרҵµÄµç×Ó¹¤³Ìʦ²©¿ÍkUfN&rG%d
µ±±àÒë
¹ý³Ìµ½link½×¶ÎµÄʱºò£¬Èç¹ûÓÐÏÂÃæµÄÃüÁ
#]tVT,C$Q9P0
Öйúµç×Ó¶¥¼¶¿ª·¢Íø----×îרҵµÄµç×ÓÂÛ̳¡¢×îרҵµÄµç×Ó¹¤³Ìʦ²©¿Íkax`&o
b$X
$libtool --mode=link gcc -o myprog -rpath /usr/lib
–L/usr/lib –la Öйúµç×Ó¶¥¼¶¿ª·¢Íø----×îרҵµÄµç×ÓÂÛ̳¡¢×îרҵµÄµç×Ó
¹¤³Ìʦ²©¿Í$j)F(J$ZECk9n
&PC
U7r)~:Y0
libtool
»áµ½/usr/lib·¾¶ÏÂȥѰÕÒliba.la£¬È»ºó´ÓÖжÁȡʵ¼ÊµÄ¹²Ïí¿âµÄÃû×Ö£¨library_namesÖмǼÁ˸ÃÃ


Ïà¹ØÎĵµ£º

2010 Linuxѧϰ±Ê¼Ç

°²×°openssh ·þÎñ¶Ë
sudo apt-get install openssh-server openssh-client
 
windows Ï¿ͻ§¶Ë
puTTY
 
 ³£ÓÃÃüÁî:
 
Ò»£®Ls ²é¿´Ä¿Â¼ÃüÁî
Ò»°ã·ÅÔÚhome Ŀ¼ÏÂ
Ls –l /  ¸ùĿ¼ÏµÄÁбí
Ls –a /  ¸ùĿ¼ÏÂËùÓеÄÎļþ
Ls –la  ×éºÏµÄÑ¡Ïî
Ls –l / ......

linuxϵ÷ÊÔÈëÃÅÖ®ÔÝÍ£µÄʹÓÃ

 ×î½üͨ¶ÁÁËÒ»ÏÂÈí¼þµ÷ÊÔµÄÒÕÊõ£¨The art of debugging with gdb,ddd,eclipse£©£¬×ÜÌåÀ´ËµÊÇÒ»°ãÈëÃż¶µÄµ÷ÊÔÓÃÊé¡£ÎÒ¸öÈ˸оõ¶Ô³õѧgdbµÄÓÐÒ»¶¨µÄ×÷Óã¬ÓÐÀ¢ÓÚÌâÄ¿art¡£ÎÒ¼òµ¥µÄ×ö¸ö×ܽᣬ¹©ÈëÃŲο¼¡£Ö÷Òª½²ÁËgdbµÄ³£ÓÃÃüÁîÒÔ¼°³£¼ûbugµÄµ÷ÊÔ¡£
³£ÓÃÃüÁ
1. ÔÝÍ£»úÖÆ
    a.¶ÏµãµÄʹÓÃ
 & ......

Linux¿ª»úÈçºÎ×Ô¶¯ÔËÐÐ×Ô¼º±àдºÃµÄshell½Å±¾


1.×î¼òµ¥µÄ°ì·¨ÐÞ¸Ä/etc/rc.d/rc.localÎļþ(Õâ¸ö·½·¨ÊÇÔÚ²»ÐèÒªloginµÄÇé¿öϾÍÄÜ×Ô¶¯ÔËÐеÄ)
2.»¹ÓÐÐ޸IJ»Í¬Óû§µÄÓû§Ä¿Â¼ÏµÄ.bashrcÎļþ¿ÉÒÔʵÏÖµ±¸ÃÓû§µÇ½µÄʱºò×Ô¶¯ÔËÐÐһЩ½Å±¾(¼ÇµÃ/etcÏÂÒ²ÓÐÒ»¸ö.bashrcÎļþ,Ð޸ĺó¿ÉÒÔÈÃÈκÎÓû§µÇ½¶¼×Ô¶¯Ö´ÐÐһЩ½Å±¾µÄ)
3.»¹ÓÐÒ»¸öºÜºÃµÄ·½·¨,×öÒ»¸öÊôÓÚ×Ô¼ºµÄrcÆô¶¯½Å± ......

Linux Socket±à³ÌʵÀý(Ò»¸öHello World³ÌÐò)

      ÔÚLinuxÏÂдÁ˸öСµÄsocket³ÌÐò£¬·ÖΪ¿Í»§¶ËºÍ·þÎñÆ÷¶Ë£¬·þÎñ¶Ë¿ªÒ»¸ö¶Ë¿Ú(20000)£¬×öΪһ¸ödaemon£¬µÈ´ý¿Í»§µÄÁ¬½ÓÇëÇó¡£Ò»µ©Óпͻ§Á¬½Ó£¨¿Í»§¶ËµÄIPºÍ¶Ë¿ÚºÅÊDz»¹Ì¶¨µÄ£©£¬·þÎñÆ÷¶Ë´òÓ¡³ö¿Í»§¶ËµÄIPµØÖ·ºÍ¶Ë¿Ú£¬²¢ÇÒÏò¿Í»§¶Ë·¢ËÍ»¶Ó­ÐÅÏ¢ºÍʱ¼ä¡£
      ÏÂÃæÊÇ ......

LinuxÍøÂç´úÂëµ¼¶Áv0.2

1 Ç°ÑÔ
Ðí¶àÈËÔÚ·ÖÎölinux´úÂëʱ¶ÔÍøÂ粿·Ö£¨Ö÷ÒªÊÇsrc/linux/net£¬src/linux/include/net¼°src/linux/include/linuxĿ¼ÏµÄÎļþ£©±È½Ï¸ÐÐËȤ£¬È·Êµ£¬¾¡¹ÜÒѾ­´ÓÊé±¾ÉÏѧµ½ÁË´óÁ¿µÄTCP/IPÔ­Àí£¬²»¶ÁÔ´ÂëµÄ»°£¬Í·ÄÔÖл¹Êǽ¨Á¢²»Æð¾ßÌåµÄÓ¡Ï󡣶ø·ÖÎöÕⲿ·Ö´úÂëµÄÒ»¸öÎÊÌâ±ãÊÇ´úÂëÖÚ¶à¶ø×ÊÁϺÜÉÙ¡£ÕâƪÎÄÕµÄÄ¿µÄ¾ÍÊǹ´ÀÕ³ö ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ