[Dune] How to force -std=c++0x in a dune project?

Markus Blatt markus at dr-blatt.de
Sat Feb 16 17:36:35 CET 2013


On Sat, Feb 16, 2013 at 05:14:00PM +0100, Arya Fallahi wrote:
> Hi Markus,
> 
> yes, I did that. I wrote:
> 
> CC=/tools/gcc-4.7.2/bin/gcc
> CXX=/tools/gcc-4.7.2/bin/g++
> 
> In this case, a correct g++ is detected and the standard option -std=c++0x
> is also added to the compiler. But, then the dune-istl fails
> compiling. In 

"fails compiling ..." means? If you want help on a mailinglist please
be as specific as possible, otherwise you are just waisting time.

> the meantime, I happened to realize that the m4 installation on linux is
> very old and this may be a reason why autotools do not find the correct
> gcc. I have installed a new version of m4 and am right now installing
> everything again. However, I am afraid that even if the problem with
> finding is solved the compilation problem of dune-istl is still there.
> 

I am afraid so, too. Old is again very inprecise. Anyway the
buildsystem should work for what most people would consider rather
old.

Markus
-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 




More information about the Dune mailing list