译者简介
孟令彬&海能达DBA团队,任职于海能达通信股份有限公司哈尔滨平台中心,高级数据库开发工程师,致力于postgresql数据库在专网通信领域、公共安全领域的应用与推广,个人兴趣主要集中在:数据库优化、高性能/高可用数据库架构设计与开源数据库的源码研究。
校对者简介
崔鹏,PostgreSQL爱好者。海能达PostgreSQL高级DBA。
[root@ison2 cmi]# cat first.c
#include<stdio.h>
int main(void)
{
printf("Hello! This is a test prgoram.\n");
}
[root@ison2 cmi]# gcc first.c -o first.o
[root@ison2 cmi]#
[root@ison2 cmi]# ls -lrt
total 16
-rwxr-xr-x 1 root root 35 Mar 26 22:51 configure
-rw-r--r-- 1 root root 83 Mar 26 22:54 first.c
-rwxr-xr-x 1 root root 6449 Mar 26 22:58 first.o
[root@ison2 cmi]#
[root@ison2 cmi]# ./first.o
Hello! This is a test prgoram.
[root@ison2 cmi]# cat Makefile
all:
gcc first.c -o first.o
install:
./first.o
[root@ison2 cmi]# make
gcc first.c -o first.o
[root@ison2 cmi]#
[root@ison2 cmi]# make install
./first.o
Hello! This is a test prgoram.
[root@ison2 cmi]# cat Makefile
all:
gcc first.c -o first.o
@echo All PostgreSQL has successfully made
install:
./first.o
[root@ison2 cmi]# make
gcc first.c -o first.o
All PostgreSQL has successfully made
[root@ison2 cmi]#
[root@ison2 cmi]# cat configure
echo "I am checking configuration"
[root@ison2 cmi]# ./configure
I am checking configuration
[root@ison2 cmi]#
PostgreSQL中文社区欢迎广大技术人员投稿
投稿邮箱:press@postgres.cn