上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 37 下一页
摘要: 解压源代码至mpc-0.9mkdir mpc-0.9-outcd mpc-0.9-out../mpc-0.9/configure --prefix=/home/musictom/mpc-0.9-install --with-gmp=/home/musictom/gmp-5.0.5-install --with-mpfr=/home/musictom/mpfr-3.1.0-installmakemake install如果要让库在arm机器上能运行,要加上--host=arm-eabi选项 阅读全文
posted @ 2012-07-14 21:19 袁晓平 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 解压源代码至mpfr-3.1.0mkdir mpfr-3.1.0-out../mpfr-3.1.0/configure --prefix=/home/musictom/mpfr-3.1.0-install --with-gmp=/home/musictom/gmp-5.0.5-installmakemake install 阅读全文
posted @ 2012-07-14 21:07 袁晓平 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1、解压源代码至gmp-5.0.52、mkdir gmp-5.0.5-out3、cd gmp-5.0.5-outCPPFLAGS=-fexceptions ../gmp-5.0.5/configure--enable-cxx --prefix=/usr/localmakemake installmake check 阅读全文
posted @ 2012-07-14 20:55 袁晓平 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 最近想自己编译出arm的gcc,其中必须的一步是必须编译binutils,所以尝试了一下,步骤如下:1、安装cygwin,选择gcc及libiconv库,安装,不要用mingw的编译器编译,我查了下,好象mingw里是没有fcntl.h的,所以编时会报错的,可以用gcc -v查看编译器的信息2、解压binutils-2.223、mkdir binutils-2.22-arm-unknown-eabi-outcd binutils-2.22-arm-unknown-eabi-out../binutils-2.22/configure --prefix=/home/musictom/binutil 阅读全文
posted @ 2012-07-14 18:18 袁晓平 阅读(1343) 评论(0) 推荐(0) 编辑
摘要: 1、在namespace ClassLibrary下定义接口及实现的类:public interface IClass { void Hello(); } public class Class1 : IClass { public void Hello() { HttpContext.Current.Response.Write("Class1::Hello"); } } public class Class2 : IClass { public void Hello() { HttpContext.Current.Response.Write("Class2:: 阅读全文
posted @ 2012-06-29 11:27 袁晓平 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 第一步:开启CLRsp_configure 'show advanced options', 1;GORECONFIGURE;GOsp_configure 'Ole Automation Procedures', 1;GORECONFIGURE;GOEXEC sp_configure 'show advanced options' , '1';goreconfigure;goEXEC sp_configure 'clr enabled' , '1'goreconfigure;-- Turn adva 阅读全文
posted @ 2012-06-13 17:54 袁晓平 阅读(1125) 评论(0) 推荐(0) 编辑
摘要: #import <iostream>#import <Poco/Net/HTTPClientSession.h>#import <Poco/Net/HttpRequest.h>#import <Poco/Net/HttpResponse.h>#import <Poco/URI.h>#import <Poco/Net/HTTPCredentials.h>#import <Poco/StreamCopier.h>#import <Poco/Net/HTMLForm.h>#import <Poco/ 阅读全文
posted @ 2012-06-10 15:40 袁晓平 阅读(5271) 评论(0) 推荐(0) 编辑
摘要: Poco::Net::HTTPClientSession s("www.cnblogs.com"); 需要引用的头文件是:#import <Poco/Net/HTTPClientSession.h>#import <Poco/Net/HttpRequest.h>#import <Poco/Net/HttpResponse.h>#import <Poco/StreamCopier.h>#import <Poco/Net/HTMLForm.h>#import <Poco/BinaryReader.h>#im 阅读全文
posted @ 2012-06-08 17:00 袁晓平 阅读(2063) 评论(0) 推荐(0) 编辑
摘要: 获取qt库,打开terminal,键入cd /Users/test/Downloads回车,git clone git://gitorious.org/+qt-iphone/qt/qt-iphone-clone.git 等待片刻,在当前目录会有一个目录qt-iphone-clone,进入目录,打开ios.txt,里面模拟器及真机的编译方法按照方法,键入./configure -xplatform iphonesimulator-g++42 -platform macx-ios-g++42 -opensource -ios -no-accessibility -no-qt3support -no 阅读全文
posted @ 2012-06-01 13:43 袁晓平 阅读(731) 评论(0) 推荐(0) 编辑
摘要: ./configure --config=iPhone --prefix=/libs/pocos --static --notests --nosamples#./configure --config=iPhoneSimulator --prefix=/libs/pocos --static --notests --nosamples 由于系统升级到了mac os x 10.7.4,xcode目录也变到了/Applications/Xcode.app,所以要编译iphone版的就要做些修改,找到build/config/iPhone文件打开编辑,修改如下:IPHONE_SDK_VERSION 阅读全文
posted @ 2012-05-30 14:02 袁晓平 阅读(358) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 37 下一页