[petsc-dev] Compiling C code with C compiler

Satish Balay balay at mcs.anl.gov
Mon Apr 4 21:31:09 CDT 2011


On Mon, 4 Apr 2011, Sean Farley wrote:

> >
> >   configure.log ????
> >
> >   What about passing the compiler option -x C++? Or maybe you are already
> > doing that but I would't know because you didn't send configure.log
> >
> >    It's bad enough when our ignorant users don't send necessary
> > configure.log files but you?
> 
> 
> Fair enough :-) But this isn't a petsc-maint issue and configure.log usually
> gets rejected because of its size.

and yet you send it to petsc-dev [when you were supposed to send it to
petsc-maint] - so its rejected. And I notice the configure.log was
from a wrong build anyway..

> You could have tested the configure
> option on your own since your $2000 laptop can compile the code in under 10
> minutes:

We can't figure out what 'Using C/C++ linker: /opt/local/bin/mpicxx' is doing internally..
that part is in configure.log.

Will have to figureout how to get atleast '-show' stuff into make.log

satish


> 
> https://twitter.com/shitbsmithsays
> 
> You're almost right about the -x option but it's the other way around it
> seems -x c (not a capital 'c').
> 
> Sean
> 




More information about the petsc-dev mailing list