From: wolf Date: Mon, 10 Jun 2002 08:11:41 +0000 (+0000) Subject: Add information about pgcc. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=243db9c6755bd36ab664aae53522d395aaee74a8;p=dealii-svn.git Add information about pgcc. git-svn-id: https://svn.dealii.org/trunk@6033 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/platforms/pgcc.html b/deal.II/doc/platforms/pgcc.html new file mode 100644 index 0000000000..9f7c98ae00 --- /dev/null +++ b/deal.II/doc/platforms/pgcc.html @@ -0,0 +1,84 @@ + + + + + + The deal.II Readme -- Installation Instructions + + + + + + + +

Installation instructions for the Portland Group pgcc compiler

+ +

+ This compiler is not supported yet, or maybe we should say this + differently: this compiler does not support C++ enough to allow + compilation of the library. The first obstacle is that as of + version 3.3-2, the compiler does not come with C++ style headers + <cmath&rt;, <cstdlib&rt;, etc. If + such a file is placed into the respective include directory, + containing in include statement for the respective C style header + (no "c" in front, but a ".h" at the end), then at least the + preprocessor works, but we are stuck with uses of the math + functions in namespace "std", such as std::sin. This + would require changes all over the code, or writing a standard + compliant header file, both of which we are not willing to do as + this is just a lack of C++ conformance of the compiler, not of the + library. +

+ +

+ However, even if we do this in a couple of places, we get + consistent errors with this perfectly legal piece of code: + +

+#include 
+
+void g (double);
+void f() 
+{
+  std::map m;
+  for (std::map::const_iterator i=m.begin(); i!=m.end(); ++i)
+    g(i->second);
+};
+    
+ + leading to this message: + +
+tmp/x> pgCC -c x.cc
+"x.cc", line 8: error: expression must have pointer type
+      g(i->second);
+        ^
+
+1 error detected in the compilation of "x.cc".
+    
+
+

+ +

+ Furthermore, we consistently got this error: + +

+"/home/wolf/p/deal.II/3/deal.II/base/include/base/memory_consumption.h", line 482: internal error:
+          assertion failed at: "../src/types.c", line 4669
+
+    unsigned int memory_consumption (const T (&v)[N])
+                 ^
+
+1 catastrophic error detected in the compilation of "source/data_out_base.cc".
+Compilation aborted.
+pgCC-Fatal-/home/wolf/bin/pgcc/linux86/bin/pgcpp1 TERMINATED by signal 6
+    
+ + At this point we thought we'd better use our time for something + better and wait for the next version of the compiler. +

+ + + + diff --git a/deal.II/doc/readme.html b/deal.II/doc/readme.html index 055f59c3c8..2dac05f1c8 100644 --- a/deal.II/doc/readme.html +++ b/deal.II/doc/readme.html @@ -60,6 +60,9 @@
  • IBM AIX with IBM's xlC 5.0 compiler. +
  • Portland Group + PGCC 3.3-2 on Linux. +
  • Microsoft Windows 95/98/2000/NT.