export PATH=/home/z/phone/src/SW_COMM/lib/SW_BPS/Terminal/Tools/CrossCompiler/bin:$PATH
export CXX=arm-none-linux-gnueabi-g++
export AR=arm-none-linux-gnueabi-ar
export STRIP=arm-none-linux-gnueabi-strip
#ifndef _WIN32
# include <sys/time.h>
#endif
rm -f Hello.h Hello.cpp
../../../../../cpp/bin/slice2cppe -I../../../../../slice Hello.ice
arm-none-linux-gnueabi-g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX Hello.cpp
arm-none-linux-gnueabi-g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX HelloI.cpp
arm-none-linux-gnueabi-g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX Server.cpp
rm -f server
arm-none-linux-gnueabi-g++ -Wl,--enable-new-dtags -Wl,-rpath,/opt/IceE-1.3.0/lib -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX -L../../../../lib -o s2 Hello.o HelloI.o Server.o -lIceE -lpthread -lrt
arm-none-linux-gnueabi-g++ -L../../../../lib -o server Hello.o HelloI.o Server.o -lIceE -lpthread -lrt
g++ -I. -I/usr/include -o server demo.cpp Server.cpp -L/usr/lib -lIce -lIceUtil
arm-none-linux-gnueabi-g++ -I. -I../../../../include -Wl,--enable-new-dtags -Wl,-rpath,/opt/IceE-1.3.0/lib -L../../../../lib -o s2 Hello.cpp HelloI.cpp Server.cpp -lIceE -lpthread -lrt
arm-none-linux-gnueabi-g++ -I. -I../../../../include -L../../../../lib -o s2 Hello.cpp HelloI.cpp Server.cpp -lIceE -lpthread -lrt
arm-none-linux-gnueabi-g++ -I. -I../../../../include -L../../../../lib -o s2 Hello.cpp HelloI.cpp Server.cpp -lIceE -lpthread -lrt
arm-none-linux-gnueabi-g++ -I. -I../../../../include -L../../../../lib -o s2 Hello.cpp HelloI.cpp Server.cpp -lIceE
arm-none-linux-gnueabi-g++ -I. -I../../../../include -L../../../../lib -o s2 phonebook.cpp phonebookI.cpp phones.cpp -lIceE
g++ -I. -I../../../../include -L../../../../lib -o s3 Hello.cpp HelloI.cpp Server.cpp -lIceE -lpthread -lrt
一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十
0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
c++ -c -I. -DICEE_PURE_CLIENT -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g Client.cpp
c++ -c -I. -DICEE_PURE_CLIENT -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g Hello.cpp
c++ -Wl,--enable-new-dtags -Wl,-rpath,/opt/IceE-1.3.0/lib -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g -L../../../../lib -o client Client.o Hello.o -lIceEC -L/usr/lib/nptl -lpthread -lrt
g++ -I. -I../../../../include -L../../../../lib -o c2 Hello.cpp Client.cpp -lIceE -lpthread -lrt
g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g Server.cpp
g++ -Wl,--enable-new-dtags -Wl,-rpath,/opt/IceE-1.3.0/lib -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g -L../../../../lib -o server phonebook.o phonebookI.o Server.o -lIceE -L/usr/lib/nptl -lpthread -lrt
g++ -I. -I../../../../include -L../../../../lib -o s3 phonebook.cpp phonebookI.cpp phones.cpp -lIceE -lpthread -lrt
../../../../../cpp/bin/slice2cppe -I../../../../../slice phonebook.ice
arm-none-linux-gnueabi-g++ -I. -I../../../../include -L../../../../lib -o se phonebook.cpp phonebookI.cpp phones.cpp -lIceE -lpthread -lrt
arm-none-linux-gnueabi-g++ -I. -I../../../../include -L../../../../lib -o ce phonebook.cpp phonec.cpp -lIceE -lpthread -lrt
../../../../../cpp/bin/slice2cppe -I../../../../../slice phonebook.ice
g++ -I. -I../../../../include -L../../../../lib -o s3 phonebook.cpp phonebookI.cpp phones.cpp sqlite3.c -lIceE -lpthread -lrt -ldl
// 服务器编译
../../../../../cpp/bin/slice2cppe -I../../../../../slice phonebook.ice
g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX phonebook.cpp -o phonebook.o
g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX phonebookI.cpp -o phonebookI.o
g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX phones.cpp -o phones.o
gcc -c sqlite3.c -o sqlite3.o
g++ -I. -I../../../../include -L../../../../lib -o s3 phonebook.cpp phonebookI.cpp phones.cpp sqlite3.c -lIceE -lpthread -lrt -ldl
// 嵌入式服务器编译
../../../../../cpp/bin/slice2cppe -I../../../../../slice phonebook.ice
arm-none-linux-gnueabi-g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX phonebook.cpp -o phonebook.o
arm-none-linux-gnueabi-g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX phonebookI.cpp -o phonebookI.o
arm-none-linux-gnueabi-g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX phones.cpp -o phones.o
arm-none-linux-gnueabi-gcc -c sqlite3.c -o sqlite3.o
arm-none-linux-gnueabi-g++ -Wl,--enable-new-dtags -Wl,-rpath,/opt/IceE-1.3.0/lib -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g -L../../../../lib -o se phones.o phonebook.o phonebookI.o sqlite3.o -lIceE -L/usr/lib/nptl -lpthread -lrt -ldl
../../../../../cpp/bin/slice2cppe -I../../../../../slice phonebook.ice
arm-none-linux-gnueabi-g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX phonebook.cpp -o phonebook.o
arm-none-linux-gnueabi-g++ -c -I. -I../../../../include -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -DGUMSTIX phonec.cpp -o phonec.o
arm-none-linux-gnueabi-g++ -Wl,--enable-new-dtags -Wl,-rpath,/opt/IceE-1.3.0/lib -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g -L../../../../lib -o ce phonec.o phonebook.o -lIceE -L/usr/lib/nptl -lpthread -lrt