[cfe-dev] config errors while building libpng 1.5.10

Matthieu Monrocq matthieu.monrocq at gmail.com
Mon May 14 09:59:18 PDT 2012


On Mon, May 14, 2012 at 8:25 AM, Eli Friedman <eli.friedman at gmail.com>wrote:

> On Sun, May 13, 2012 at 11:06 PM,  <naren.mehra at gmail.com> wrote:
> > Hi Everbody,
> >
> > I am trying to build libpng 1.5.10 with clang but am getting errors
> during
> > configuration:
> >
> > My config_target reads:
> > =================
> >
> > export INSTALL_DIR="/home/nsmehra/Downloads/libpng-1.5.10/BUILD_clang"
> > export CC=clang
> > export CPP=clang++
> > export CPPFLAGS="-x c++"
>
> "export CPP=clang++" is very, very wrong.  Don't do that.  (I assume
> you meant to write "export CXX=clang++".)
>
> -Eli
>

Clarification: CPP stands for C Preprocessor:
http://en.wikipedia.org/wiki/C_preprocessor

Yes, it is unfortunate...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120514/2ce14f78/attachment.html>


More information about the cfe-dev mailing list