0序
为什么要使用Eclipse呢?
1.安装CDT |
本人采用CentOS 6.2系统,在安装系统时,已经选择Eclipse进行安装。
all。
$whereis eclipse output: /usr/bin/eclipse /etc/eclipse.ini /usr/lib/eclipse /usr/share/eclipse |
$vim /etc/eclipse.ini output: 添加一句话 -Duser.language=en 保存退出 |
#include <stdio.h> main() { printf("Hello world!\n"); } |
make all make:*** 没有规则可以创建目标“all”。停止 或者 make: *** no rule to make target 'all'. |
#user nobody; worker_processes 1; daemon off; #daemon must be set as off #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info;
events {
http { #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' #access_log logs/access.log main; sendfile on; #keepalive_timeout 0; #gzip on; server { #charset koi8-r; #access_log logs/host.access.log main; location / { # redirect server error pages to the static page /50x.html # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # deny access to .htaccess files, if Apache's document root
# another virtual host using mix of IP-, name-, and port-based configuration # location / {
# HTTPS server # ssl on; # ssl_session_timeout 5m; # ssl_protocols SSLv2 SSLv3 TLSv1; # location / { } |