Friday, January 23, 2009

cup cake build

更多精彩请到 http://www.139ya.com


Examples to use this rysnc source.
1) sync the total cupcake to the local dir "/root/cupcake"
rsync --port 8873 -aP 10.194.72.89::cupcake-all /root/cupcake-all
2) sync the code of cupcake to the local dir "/root/cupcake"
rsync --port 8873 -aP 10.194.72.89::cupcake /root/cupcake
Please read rysnc's help to know how to do the incremental sync or total sync (remove the local change).
BTW:
1) one build issue in cupcake was found, which can't support the high-version gcc (like 4.3). So please install some lower gcc, such as gcc4.1, to complete the build.
To install the gcc/g++ 4.1 with the following command in debian or ubuntu.
apt-get install gcc-4.1 g++-4.1
To build the cupcake with gcc/g++ 4.1
make CC=gcc-4.1 CXX=g++-4.1

No comments: