]> https://gitweb.dealii.org/ - dealii.git/commitdiff
more information on compiler flags
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 11 Aug 2000 20:15:04 +0000 (20:15 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 11 Aug 2000 20:15:04 +0000 (20:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@3252 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/readme.html

index ffa96bc3b64b275c8ae74201c3cb699971544ef7..eb30533f77db647e6e461ff084981c1dfdf81bb6 100644 (file)
     Since the ISO C++ standard is still quite new and compilers still
     change a lot, you might need to provide special options for the
     compiler. We have tried to automatize this process using the
-    ./configure script at least for the gcc compilers we use, but in
-    case something is not as you want it, change the file
+    ./configure script at least for the gcc compilers we use. If you need
+    additional flags, try the following two ways:
+
+    <ul>
+    <li> Set environment variables before configuring. If you want to add
+    a flag to produce <code>gprof</code> output, for instance, configure
+    the package using the following command sequence:
+    <pre>
+      setenv CXXFLAGS -pg
+      setenv LDFLAGS -pg
+      configure &lt;configure-options&gt;
+    </pre>
+    These are the commands for <tt>csh</tt>. They have to be changed
+    accordingly for <tt>bash</tt>
+
+    <li> If that does not work, edit the file
     common/Make.global_options.in and rerun ./configure in the
     top-level directory.
 
+    The first method is preferred, since it will be easier to
+    incorporate it into the configuration script later. Furthermore,
+    your version of <acronym>deal.II</acronym> will not be changed
+    from the original.
+
     <p>
 
-    We would like to hear about necessary modifications so that we can
-    include them into the distribution.
+    We would like to hear about necessary or useful modifications so
+    that we can include them into the distribution.
 
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.