ºìÁªLinuxÃÅ»§
Linux°ïÖú

LinuxѧϰÇмǰÚÍÑwindowsÒâʶ

·¢²¼Ê±¼ä:2007-01-02 10:33:28À´Ô´:ºìÁª×÷Õß:wuhu911
¡¡¡¡½ñÌìÒ»¸öÏÂÎçÓôÃÆÔÚlinuxϵͳÈçºÎͨ¹ýÎı¾±à¼­Æ÷vi,ÒÔ¼°ÈçºÎͨ¹ýgcc±àÒëcÎļþ¡£¼¸·¬³¢ÊÔºóÖÕÓÚѧ»áÁË»ù±¾µÄvi ʹÓã¬È´ÎÞÂÛÈçºÎ²»È»Í¨¹ýgcc±àÒëviÖеÄc³ÌÐò£¨ºÜ¼òµ¥µÄhello³ÌÐò£©£¬ÎÒÔÚviÎı¾±à¼­Æ÷ÖÐдºÃhello.c³ÌÐòÔÙ´æΪtwoÎļþÃû£¬ÔÙgcc twoÃüÁî linuxÉÁ³öcan't find command¡°gcc¡±

¡¡¡¡¸Õ¿ªÊ¼ÒÔΪÊÇlinuxϵͳÖÐûÓÐ×°gccÕâ¸ö×é¼þ £¬¿´ÁËn¸öÍøÉÏÎÄÕºÍÊéºó·¢ÏÖ²»ÊÇÕâ¸öÎÊÌâÅųýÖ®£¡

¡¡¡¡³ÌÐòÎÊÌâÒ²¿ÉÒÔÅųýÁË£¨·¢ÏÖlinuxÖв»ÄÜʹÓÃvoid mian()£¡ ¶øÊÇint main! ÄѵÀlinuxÖÐĬÈÏmainº¯ÊýÊÇÒ»¸öint Ðͺ¯ÊýÂð£¿Áô´ýÒÔºó¿´£©

¡¡¡¡×îºó²ÂÏ룺´æÅÌʱ £¬Ö±½ÓÔÚÎļþºó¼ÓÒ»¸ö.c×÷Ϊºó׺ÒÔ±ãgccʶ±ð£¬¾¹È»³É¹¦£¡º¹¡£¡£¡£¡£

¡¡¡¡Ï뵱ȻµÄÒÔwindows˼άÔÚlinuxÉÏѧϰÁË £¬ÔÚwindowsÖÐÿһ¸ö±à¼­Æ÷¶¼»á×Ô¶¯ÔÚÎļþÃûºó¼ÓÒ»¸öºó׺£¬µ«ÊÇlinuxµÄÎı¾±à¼­Æ÷ÔòÊÇ×Ô¼ºÔÚºóÃæ¼Ó²»Í¬µÄºó׺ÒÔ±ãÆäËû±àÒëÆ÷µ÷Óã¬ÔÚÒÔºóµÄѧϰÖУ¬ÕâµãÇмǣºlinuxÏÂÊÇÁíÒ»ÖÖ²Ù×÷»·¾³ºÍÏ°¹ß£¡
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 11 ÌõÆÀÂÛ

  1. xljback ÓÚ 2014-12-30 11:17:50·¢±í:

    ÍÂѪ֧³Ö¡£¡£¡£

  2. xingwang916 ÓÚ 2014-12-30 09:40:53·¢±í:

    лл£¡

  3. zhangruidong ÓÚ 2014-12-22 13:21:02·¢±í:

    Ö§³ÖÒ»ÏÂ

  4. ÍøÂçÇ鱨վ ÓÚ 2014-12-11 10:36:13·¢±í:

    ·¹ý£¬¶àл·ÖÏí

  5. 735513561 ÓÚ 2014-09-12 08:58:48·¢±í:

    ¸Ðл¥Ö÷·¢Ìû

  6. zoush_2014 ÓÚ 2014-09-11 21:42:07·¢±í:

    лл¥Ö÷£¡

  7. ylc2014 ÓÚ 2014-08-14 13:34:13·¢±í:

    Óлù´¡¸üÈÝÒ׳ɹ¦¡££¬

  8. huan3625 ÓÚ 2007-01-16 22:17:04·¢±í:

    :0L

  9. swallow ÓÚ 2007-01-16 10:00:31·¢±í:

    ½²µÃ²»´í£¬Ö§³Ö

  10. Informix ÓÚ 2007-01-04 15:34:26·¢±í:

    ÕâµãÇ¿µ÷»¹ÊDZȽϺõģ¬±Ï¾¹linuxÏÂÓëwindows϶¼ÊDz»Í¬µÄ

  11. ¶«·½EÆ·ÀÇ ÓÚ 2007-01-02 13:38:10·¢±í:

    :0L :ha3nd