Issue compiling on snow leopard

2009-09-18 Thread Niall Moran
Hi, I am trying to compile petsc on snow leopard. I need to have complex support and support for C++. I am using the gcc and g++ compilers that come packaged with the developers tools i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) Copyright (C) 2007 Free Software

Issue compiling on snow leopard

2009-09-18 Thread David Colignon
Hi, I already have had the same kind of problem and here is the answer I got from Barry Smith : This happens because the BuildSystem inherits the bad feature of autoconf that checks for functions using the C compiler even when the C++ compiler will be used to actually compile the

Issue compiling on snow leopard

2009-09-18 Thread Matthew Knepley
Barry is correct. I wanted to note that this is fixed in petsc-dev. Matt On Fri, Sep 18, 2009 at 4:21 AM, David Colignon David.Colignon at ulg.ac.bewrote: Hi, I already have had the same kind of problem and here is the answer I got from Barry Smith : This happens because the