随笔 - 45  文章 - 129  trackbacks - 0
<2010年4月>
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

专注于C++ P2P STL GP OpenSource等
Google

常用链接

留言簿(10)

随笔分类

随笔档案

相册

朋友

搜索

  •  

最新评论

阅读排行榜

评论排行榜

转载  下载和安装cgicc 收藏

 

Download: ftp://ftp.cgicc.org/

Unpack: tar xzf cgicc-X.X.X.tar.gz

Build Libraries:

  • cd cgicc-X.X.X/
  • ./configure --prefix=/usr (Default or /opt. Make sure you have write priviges to the directory.)
    If compiling to create a 32 bit library on a 64 bit Athelon:
    CXXFLAGS="-m32" CFLAGS="-m32" LDFLAGS="-m32"
    If installed in /opt then you will need to include:
    • Include path defined in the compile statement: -I/opt/include
    • Link command reference: -L/opt/lib
      or use LD_RUN_PATH or /etc/ld.so.conf
    I prefer to install into /usr to eliminate the configuration headaches.
  • make install
This will create and install include files, documentation and libraries:
  • Libraries:
    /usr/lib/libcgicc.a
    libcgicc.la
    libcgicc.so (softlink to libcgicc.so.1.3.0)
    libcgicc.so.1 (softlink to libcgicc.so.1.3.0)
    libcgicc.so.1.3.0
  • Include files: /usr/include/cgicc/...
  • Documentation: /usr/doc/cgicc-X.X.X/index.html
    Also available at http://www.cgicc.org/doc/
posted on 2010-04-13 17:07 CPP&&设计模式小屋 阅读(1054) 评论(0)  编辑 收藏 引用 所属分类: Linux Programming

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理