分页: 1 / 1

关于编译c语言的遇到的问题问题。

发表于 : 2009-03-05 19:21
konglongdan
~/aecium$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for setlocale... yes
checking for socket... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands


是不是要后面全部是yes才行啊?
或者看看我这个可以继续下去不?

Re: 关于编译c语言的遇到的问题问题。

发表于 : 2009-03-05 20:14
竹影清风
应该可以 最后几条不过是说创建了几个makefile文件和一个h文件而已
下面应该就是make和make install了吧

Re: 关于编译c语言的遇到的问题问题。

发表于 : 2009-08-20 23:22
tusooa
ls,如果有Makefile, makefile, GNUmakefile之类的makefile就可以make了

Re: 关于编译c语言的遇到的问题问题。

发表于 : 2009-08-21 16:05
CGer
其实不是全部都是yes也是可以的把应该,只要依赖关系是满足的 :em09

Re: 关于编译c语言的遇到的问题问题。

发表于 : 2009-09-13 23:40
wyapples
没提示缺少依赖就OK啦~

Re: 关于编译c语言的遇到的问题问题。

发表于 : 2009-09-13 23:43
wangdu2002
不是所有的no都需要变成yes的。自己编译安装的软件,最好指定路径,以方便维护之,如--prefix=/usr,--prefix=/opt。 :em09