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

Linux±à³ÌÔý¼Ç

1.“/bin”¡¢“/sbin”¡¢“/usr/bin”¡¢“/usr/sbin”¡¢“/usr/local/bin”µÈ·¾¶ÒѾ­ÔÚϵͳ»·¾³±äÁ¿ÖÐÁË£¬Èç¹û¿ÉÖ´ÐÐÎļþ   ÔÚÕ⼸¸ö±ê׼λÖã¬ÔÚÖÕ¶ËÃüÁîÐÐÊäÈë¸ÃÈí¼þ¿ÉÖ´ÐÐÎļþµÄÎļþÃûºÍ²ÎÊý£¬»Ø³µ¼´¿É¡£
2.Èç¹û²»ÔÚ±ê׼λÖã¬ÎļþÃûÇ°ÃæÐèÒª¼ÓÉÏÍêÕûµÄ·¾¶¡£²»¹ýÿ´Î¶¼ÕâÑùÅܾÍÌ«Âé·³ÁË£¬Ò»¸ö“Ò»ÀÍÓÀÒÝ”µÄ°ì·¨ÊÇ°ÑÕâ¸ö·¾¶¼Ó  Èë»·¾³±äÁ¿¡£ÃüÁî “PATH=$PATH:·¾¶”¿ÉÒÔ°ÑÕâ¸ö·¾¶¼ÓÈë»·¾³±äÁ¿£¬µ«ÊÇÍ˳öÕâ¸öÃüÁîÐоÍʧЧÁË¡£ÒªÏëÓÀ¾ÃÉúЧ£¬ÐèÒª°Ñ   ÕâÐÐÌí¼Óµ½»·¾³±äÁ¿ÎļþÀï.“/etc/profile”¶Ô   ϵͳÀïËùÓÐÓû§¶¼ÓÐЧ£¬Óû§Ö÷Ŀ¼Ïµē.bash_profile”Ö»¶ÔÕâ¸öÓû§ÓÐЧ
3.°²×°Ô­Âë³ÌÐòʱ£¬¶¼ÒªÖ´ÐÐÈý²½£º
1./configure   ÓÃÀ´¼ì²âÄãµÄ°²×°Æ½Ì¨µÄÄ¿±êÌØÕ÷
2 make         ´ÓMakefileÖжÁÈ¡Ö¸Áî,±àÒ빤³Ì
3 make install ´ÓMakefileÖжÁÈ¡Ö¸Áî°²×°µ½Ö¸¶¨µÄλÖÃ
4.SourceÃüÁîÒ²³ÆΪ“µãÃüÁ¬Ò²¾ÍÊÇÒ»¸öµã·ûºÅ£¨.£©¡£sourceÃüÁîͨ³£ÓÃÓÚÖØÐÂÖ´ÐÐ¸Õ Ð޸ĵijõʼ»¯Îļþ£¬Ê¹Ö®Á¢¼´ÉúЧ£¬¶ø²»±Ø×¢Ïú²¢ÖØеǼ¡£
Ó÷¨£ºsource filename »ò . filename
5.ÔÚlinuxÎļþÖÐ
.soΪ¹²Ïí¿â
.aΪ¾²Ì¬¿â
.laΪlibtool×Ô¶¯Éú³ÉµÄһЩ¹²Ïí¿â
 ¾²Ì¬¿âµÄ´úÂëÔÚ±àÒëʱ¾ÍÒÑÁ¬½Óµ½¿ª·¢ÈËÔ±¿ª·¢µÄÓ¦ÓóÌÐòÖУ¬¶ø¹²Ïí¿âÖ»ÊÇÔÚ³ÌÐò¿ªÊ¼ÔËÐÐʱ²ÅÔØÈ룬ÔÚ±àÒëʱ£¬Ö»ÊǼòµ¥µØÖ¸¶¨ÐèҪʹÓõĿ⺯Êý
6.linuxµÄ¿âÎļþµÄĿ¼Ϊ/lib /usr/lib
       °üº¬ÎļþµÄĿ¼Ϊ/usr/include /usr/local/include
7.windows±à¼­µÄÎļþµ½linuxÖпÉÄÜÐÐÄ©·û²»Æ¥Å䣬¿ÉÒÔÔÙviÖÐÓÃset fileformat=unix±£´æ
8.ÔÚlinuxÖÐʹÓÃprintf´òӡʱÐèÒª¼Ó»»Ðзû£¬·ñÔòÈÝÒ×±»Ìáʾ·ûÑڸǵô
9.ÔÚlinuxÖÐÈç¹ûʹÓõÄÍ·ÎļþÊÇ¿âµÄÍ·Îļþ£¬±àÒëʱ(gcc»òg++)²»ÐèҪдÉÏÈ¥
  ʹÓ÷½·¨£ºÈôÔÚϵͳusr/includeĿ¼ÏÂÔòÓÃ<   >°üº¬,È»ºóÔÚmakefileÀïΪ±àÒëÆ÷¼Ó-IÑ¡Ïî
10.¶ÔÓÚlinuxÖÐ.zipµÄÎļþ²ÉÓÃunzip½âѹ;.tar.gzµÄÎļþ²ÉÓÃtar -zxvf ½âѹ£¬²ÉÓÃtar -zcvfѹËõÎļþ¼Ð


Ïà¹ØÎĵµ£º

dz̸LinuxµÄ¿ÉÖ´ÐÐÎļþ¸ñʽELF

 ÏÖ´úLinux²ÉÓÃELF×öΪÆä¿ÉÁ¬½ÓºÍ¿ÉÖ´ÐÐÎļþµÄ¸ñʽ£¬Òò´ËELF¸ñʽҲÏòÎÒÃÇ͸³öÁËÒ»µãLinuxºËÄÚµÄÇé¾°£¬¾ÍÏñϷ̨άĻÁôϵÄÒ»ÌõδÀ­Ñϵķ졣PCÊÀ½ç32ÈÔÊÇÖ÷Á÷£¬µ«64λµÄ½Å²½È´ÒÑÈç´ËµÄ±Æ½ü¡£±¾ÎÄ×ÅÖؽ²Êö32λELFµÄͬʱ¸½´øÁË64λµÄÐÅÏ¢£¬ÕâÁ½ÖÖ¸ñʽÈç´ËÀ×ͬ£¬ÒÔÖÂÓÚ³õ´Î½Ó´¥ELFµÄ¶ÁÕß²»±Ø¼æ¹Ë×óÓÒ¡£Èç¹ûÄã¶ÔWindows±È½ÏÊ ......

linux ²¥·ÅÉùÒôÎļþ³ÌÐò´úÂë

ÉùÒôÎļþ±ØÐëΪWave PCM unsigned 8bits mono¸ñʽ
/* the *.wav must be 8000Hz 64kbps  8bits MONO(1)*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <linux/soundcard.h&g ......

LinuxÏÂÒÆÖ²jvmµÄ¹ý³Ì

ת×Ô£ºhttp://hi.baidu.com/deep_pro/blog/item/b4253550bb5ab7561138c27a.html
ÕâÀïתÔصÄÊÇLinuxÏÂÒÆÖ²jvmµÄ¹ý³Ì£¬ÒòΪ½ö½öÊÇCDC
J2ME CDC£¨Connected Device Configuration£¬Á¬½ÓʽÉ豸ÅäÖü¯£©
ʹÓÃCVM£¬ÃæÏòÄÇЩ¾ßÓиüÇ¿¼ÆËãÄÜÁ¦µÄǶÈëʽÉ豸£¬°üº¬ÁËJavaÀà¿âµÄºËÐIJ¿·Ö£¬ÊÇÓ¦ÓÃJava¼¼ÊõÔÚǶÈëʽÉ豸ÉϽøÐпª·¢ËùÐè ......

LinuxÄÚºËÎĵµÖ®rbtree.txt

Red-black Trees (rbtree) in Linux
January 18, 2007
Rob Landley <rob@landley.net>
=============================
red-blackÊ÷ÊÇʲôÑùµÄÊ÷£¬ÎªÊ²Ã´ÐèÒªred-blackÊ÷£¿
------------------------------------------------
    red-black tree£¨RBÊ÷£©ÊÇÒ»ÖÖƽºâ¶þ²æÊ÷£¬ËüÖ÷ÒªÓÃÓÚ´æ´¢»òÕß˵ ......

LinuxÏ´ÅÅÌÏà¹Ø²Ù×÷ÃüÁî

²é¿´´ÅÅÌÒÔ¼°·ÖÇøÃüÁ
fdisk -l
Êä³ö½á¹ûÈçÏ£º
-----------------------------------------------------------------------
Disk /dev/sda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ