⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 platforms.texi

📁 c++经典教材 Blitz++ v0.8
💻 TEXI
字号:
@node platforms@section Platform notesFor up-to-date information on supported platforms, please consultthe Blitz++ web page:@uref{http://oonumerics.org/blitz/platforms/}The information in this document may be out of date.@subsection KAI C++ @cindex KAI C++Blitz++ was developed and tested using KAI C++ under AIX.  It should (intheory) port to other KAI C++ platforms (Cray, SGI, HP, Sun, Linux, Compaq)without difficulty.  Since KAI C++ uses an EDG front end, other EDGfront-ended compilers (e.g. Comeau) should be able to compile Blitz++.Recommended compile flags are:@example+K3 -O2 --restrict --abstract_pointer --abstract_float -tused@end exampleNote that you cannot compile with @code{-tall} (this will generate lots oferrors).Under Linux, you may need the flag @code{-D__signed__=}.  You should omit@code{-tused} since this template instantiation model is not supported by@code{gcc}, which is used as the back-end compiler.@subsection Intel C++@cindex Intel C++Blitz++ compiles under fairly recent versions of the Intel C++ compiler(version 7.1 or 8.x) for Linux platforms, as well as the comparable plug-incompiler for Windows that can be used within the Microsoft Visual Studio IDE.More information:@uref{http://www.intel.com/software/products/compilers/clin}@uref{http://www.intel.com/software/products/compilers/cwin}@subsection Microsoft VS.NET 2003@cindex Microsoft VS.NET 2003Blitz++ has been ported to the C++ compiler within the Microsoft VS.NET 2003compiler and IDE package.  A zip archive containing an appropriate configuration header file and project files for building the Blitz libraryand all of the testsuite codes.  Previous versions of the Microsoft C++compiler within Visual Studio do not have the required C++ features neededby Blitz++ and are not supported.  Blitz can be compiled under Visual Studioby using the Intel plug-in C++ compiler for Windows.@subsection gcc@cindex gccGCC (@code{g++}) is a free @acronym{GNU} C++ compiler.  It compiles Blitz++reliably; in fact, most Blitz++ development work is done with @code{g++}.gcc may be downloaded from @uref{http://www.gnu.org/software/gcc/gcc.html}.If you are using gcc under Solaris, SunOS, or OSF/1, please see the@file{README.binutils} file included in the distribution.@subsection Metrowerks@cindex MetrowerksMetrowerks is sort-of supported; see the platforms web page and the mailinglists for more information.  Support for Metrowerks is no longer being actively maintained.@subsection Compaq cxx@cindex Compaq cxxThe Compaq C++ compiler version 6.x is supported.@subsection Cray T3E/Cray T90/Cray C90/Cray J90@cindex Cray compilerAs of Version 0.2-alpha-02 of Blitz++, Version 3.0.0.0 of the Cray C++compiler is supported (well, tolerated anyway).  It seems to be based on anolder version of the EDG front end, so some kludges are required.  Itdoesn't support partial ordering of member templates, so slicing arraysrequires the workaround described in Section @ref{Slicing combo}.  Portionsof the standard library are missing, such as @code{<limits>},@code{<complex>}, and @code{<set>}.  This means you won't be able to usecomplex numbers (well, not the ISO/ANSI C++ versions anyway), numericinquiry functions, or fast traversal orders.These compilation flags are recommended:@example-h instantiate=used@end exampleFor optimization, you'll want:@example-O3 -h aggress@end exampleThe ability of the Cray C++ compiler to optimize away temporary objects isdisappointing.  It's not able to optimize away expression templates overheador comma-delimited array initializers.  Please note that support for compilingBlitz++ under the Cray C++ compiler is no longer being actively maintained.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -