ice 嵌入式


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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值