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:
posted on 2010-04-13 17:07
CPP&&设计模式小屋 阅读(1091)
评论(0) 编辑 收藏 引用 所属分类:
Linux Programming