Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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ѹËõÎļþ¼Ð


Ïà¹ØÎĵµ£º

LinuxÉ豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

[תÌû]LinuxÇý¶¯¿ª·¢Ñ§Ï°µÄһЩ±ØÒª²½Öè

 1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......

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 ϱàÒë²¢°²×°ÅäÖà Qt È«¹ý³Ì

Linux ϱàÒë²¢°²×°ÅäÖà Qt È«¹ý³Ì
        ×î½ü×¼±¸×ö Nokia µÄ Symbian,Maemo Ï´¥ÃþÆÁ¿ª·¢¡£¿¼Âǵ½³ÌÐòµÄ¿çƽ̨¿ÉÒÆÖ²ÐÔ£¬×îÖÕÑ¡ÔñʹÓà Qt ¿ª·¢¡£Ïà¶ÔÀ´Ëµ£¬¹úÄÚ¹ØÓÚ Qt Ïà¹ØÎĵµ²¢²»ËãºÜ¶à¡£×÷Õß½« Linux ϱàÒë²¢°²×°ÅäÖà Qt È«¹ý³Ì×ܽáÁËһϣ¬Ö»Ï£Íû¿ÉÒÔ·½±ã¸ü¶àµÄÅóÓÑ£¡
&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ