📄 install
字号:
Note that osip is developped on a i386 linux and other architecturemight be broken. Reports if one appears broken.Install process for UNIX. (latest tested 0.8.8)_________________________ $> tar -xvzf libosip-x.x.x.tar.gz $> mkdir bld-linux $> CFLAGS="-I/usr/local/include/" ../configure $> make $> make install (as root...)I prefer to do: $> tar -xvzf libosip-0.X.X.tar.gz $> mkdir linux-build $> cd linux-build $> ../libosip-0.X.X/configure $> make $> make installHere is a list of options you can give to the 'configure' command line:configure --disable-mt ==> disable any thread support,flags: "-UOSIP_MT"configure --disable-debug ==> disable debug.flags: "-UENABLE_DEBUG"configure --disable-trace ==> disable the trace in the logfile.flags: "-UENABLE_TRACE"configure --enable_mleak ==> enable the memory leak detection.flags: "-DENABLE_MLEAK"configure --enable-pth ==> use GNU pth library. (never tested yet!)flags: "-DTHREAD_PTH -UTHREAD_PTHREAD"configure --prefix=/your/local ==> install in '$prefix' (default is /usr/local)Install process for Windows. (latest tested 0.8.8)____________________________For Windows, see README file in the ./windows directory.Workspace files for VC++ are provided.Install process for Cris architecture. (latest tested 0.8.7)______________________________________mkdir bld-osipcd bld-osipCC="gcc_cris -mlinux -isystem /ldata/axis/cris-source/axis/devboard_lx/os/linux/include -I/ldata/axis/cris-source/axis/devboard_lx/apps/osip" CPP="gcc_cris -E -mlinux -isystem /ldata/axis/cris-source/axis/devboard_lx/os/linux/include" LD="ld-cris -mcrisaout" AR="ar-cris" RANLIB="ranlib-cris" NM="nm-cris" ../osip/configure --prefix=/ldata/axis/cris-source/axis/devboard_lx/target/cris-axis-linux-gnu/usr/local makesee www.axis.com for more info on the ETRAX 100LX module.Install process for VxWorks. (latest tested 0.8.8)____________________________From a tornado user: I built them in tornado GUI, and just test them in the simulate. 1. Create a bootable vxworks image project. 2. Add all files in the new project. 3. Include the networks componets. 4. Add the compiler parameter as follows: -D__VXWORKS_OS__ -DTHREAD_PTHREAD -D_REENTRANT -DOSIP_MT -DHAVE_SIGNAL_H -DENABLE_DEBUG -DENABLE_TRACE -DSHOW_MESSAGEand play!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -