¡¡¡¡½ñÌìÒ»¸öÏÂÎçÓôÃÆÔÚ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ÏÂÊÇÁíÒ»ÖÖ²Ù×÷»·¾³ºÍÏ°¹ß£¡
xljback ÓÚ 2014-12-30 11:17:50·¢±í:
ÍÂѪ֧³Ö¡£¡£¡£
xingwang916 ÓÚ 2014-12-30 09:40:53·¢±í:
лл£¡
zhangruidong ÓÚ 2014-12-22 13:21:02·¢±í:
Ö§³ÖÒ»ÏÂ
ÍøÂçÇ鱨վ ÓÚ 2014-12-11 10:36:13·¢±í:
·¹ý£¬¶àл·ÖÏí
735513561 ÓÚ 2014-09-12 08:58:48·¢±í:
¸Ðл¥Ö÷·¢Ìû
zoush_2014 ÓÚ 2014-09-11 21:42:07·¢±í:
лл¥Ö÷£¡
ylc2014 ÓÚ 2014-08-14 13:34:13·¢±í:
Óлù´¡¸üÈÝÒ׳ɹ¦¡££¬
huan3625 ÓÚ 2007-01-16 22:17:04·¢±í:
:0L
swallow ÓÚ 2007-01-16 10:00:31·¢±í:
½²µÃ²»´í£¬Ö§³Ö
Informix ÓÚ 2007-01-04 15:34:26·¢±í:
ÕâµãÇ¿µ÷»¹ÊDZȽϺõģ¬±Ï¾¹linuxÏÂÓëwindows϶¼ÊDz»Í¬µÄ
¶«·½EÆ·ÀÇ ÓÚ 2007-01-02 13:38:10·¢±í:
:0L :ha3nd