|
STLport安装指南(4) Note : your "make" program may have different name, like "nmake" for Visual C++. 注意:make文件可能有不同的名称,VC使用nmake Examples : 1. If you are building STLport for just one compiler, you may do something like that (DOS syntax for Visual C++ below): copy vc6.mak makefile nmake clean all nmake install 例如: 1.如果你只是为一种编译器编译STLport,方法如下: copy vc6.mak makefile nmake clean all nmake install 2. If you plan to build STLport with multiple compilers, use "make -f" : make -f gcc.mak clean install make -f sunpro.mak clean install This will build and install STLport for gcc & SUN CC. 2.为多个编译器编译STLport,使用make –f make -f gcc.mak clean install make -f sunpro.mak clean install 这会编译和安装STLport gcc和SUN CC两个版本。 "install" target works on most platforms. install编译依赖目标几乎在所有的平台上可以使用。 On Win32, it does the following : - copies STLport headers in "stlport" subdirectory of your compiler's INCLUDE directory; - copies STLport .lib files in your compiler's LIB directory; - copies STLport DLLs to Windows system directory so they can be found at runtime. 在Win32平台上,install目标做了下面的工作: -拷贝STLport的头文件到编译器的INCLUDE目录 -拷贝STLport.lib到编译器的LIB目录
|