|
STLport安装指南(3) 使用适当的make文件,执行“make -f <your compiler name>.mak prepare”命令,不要跳过这步!在一些平台上,它创建了一些符号链接。在需要编译STLport库时,这个步骤是由“make all”自动完成的 4-2) uncomment _STLP_NO_OWN_IOSTREAMS setting in "stlport/stl_user_config.h" to disable use of STLport iostreams and to use wrappers around your existing iostreams. After disabling STLport iostreams, you will use wrappers around your compiler's iostreams libabry, as in previous STLport releases. No binary library for STLport needs to be built in this case. Note though : - new-style ANSI iostreams may not be available on your system; - compiler's iostreams are most likely slower than STLport version. 删除stlport/stl_user_config.h文件中_STLP_NO_OWN_IOSTREAMS编译常量的注释禁止使用STLport iostream类库,并且使用已经存在的iostream类库的封装类。在这种情况下不需要重建STLport二进制类库。 If you have decided to disable STLport iostreams, you may stop reading here. 如果你已经决定不使用STLport iostream类库,可以不用往下阅读了。 ==== Building STLport iostreams library ========== Below are step-by-step instructions to build STLport streams library: 下面是一步一步的教你编译STLport stream类库 5) Using appropriate makefile, do "make clean all" to build the STLport libraries (makefiles are set up to build several different flavors - debug/nondebug, static/dynamic versions). Optionally, do "make install" to copy STLport headers and libraries to shared location. 选择适当的make文件,执行make clean all编译STLport库,make文件设置了集中不同的编译方式-debug/nondebug和static/dynamic版本。可选的,执行make install拷贝STLport的头文件和库文件到共享的位置。
|