← Back to team overview

dolfin team mailing list archive

Re: More on pkg-config

 

No particular reason. There are two other options:

  1. Don't specify CXX explicitly in the Makefile so it defaults
     to the standard compiler

  2. Add a flag --variable=compiler to dolfin.pc and use the compiler
     that was used to compile DOLFIN

Any suggestions?

What about the linker? Do we need libtool? Or can we just use CXX for
that as well?

It would be good if the demo Makefiles were as simple as they can
possibly be. 

/Anders

On Fri, Oct 13, 2006 at 03:21:15PM +0200, Garth N. Wells wrote:
> Why is the compiler (g++) specified explicitly in the Makefiles for the
> demos?
> 
> Garth
> 
> 
> Anders Logg wrote:
> > I have moved all the demo Makefiles from dolfin-config to pkg-config.
> > Please check that it works for everyone.
> > 
> > The only thing currently holding us back from removing dolfin-config
> > is that it is used by PyDOLFIN. Johan, could you try to remove the
> > dependeny in PyDOLFIN? If you need extra flags you can just add them
> > to dolfin.pc.in.
> > 
> > If you add the line
> > 
> > foo=bar
> > 
> > in dolfin.pc.in (and regenerate), then dolfin-config --variable=foo
> > returns bar.
> > 
> > /Anders
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> > 
> 
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


Follow ups

References