摘要: 1、安装GCC:(1)我安装的是gcc4.3.1,首先安装gmp-4.2.2和mpfr-2.3.1,mpfr带一个patch,这些东东是干什么用的我也不清楚;(2)因为我的gmp和mpfr都是安装在/usr/include下,所以configure时不需要指定--with-mpfr=mpfr目录--with-gmp=gmp目录。运行configure--prefix=/usr--libdir=/u... 阅读全文
posted @ 2009-11-09 22:01 六不朽 阅读(1430) 评论(0) 推荐(0) 编辑
摘要: 这个程序有几处错误,其实是很简单的错误,过些日子我在把正确的发上来。在linux下编译运行。服务器:#include <sys/socket.h>#include <sys/types.h>#include <arpa/inet.h>#include <stdio.h>#include <stdlib.h>#include <str... 阅读全文
posted @ 2009-11-09 21:54 六不朽 阅读(920) 评论(0) 推荐(0) 编辑