<br><br><div class="gmail_quote">On Mon, May 14, 2012 at 8:25 AM, Eli Friedman <span dir="ltr"><<a href="mailto:eli.friedman@gmail.com" target="_blank">eli.friedman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sun, May 13, 2012 at 11:06 PM, <<a href="mailto:naren.mehra@gmail.com">naren.mehra@gmail.com</a>> wrote:<br>
> Hi Everbody,<br>
><br>
> I am trying to build libpng 1.5.10 with clang but am getting errors during<br>
> configuration:<br>
><br>
> My config_target reads:<br>
> =================<br>
><br>
> export INSTALL_DIR="/home/nsmehra/Downloads/libpng-1.5.10/BUILD_clang"<br>
> export CC=clang<br>
> export CPP=clang++<br>
> export CPPFLAGS="-x c++"<br>
<br>
</div>"export CPP=clang++" is very, very wrong. Don't do that. (I assume<br>
you meant to write "export CXX=clang++".)<br>
<br>
-Eli<br></blockquote><div><br>Clarification: CPP stands for C Preprocessor: <a href="http://en.wikipedia.org/wiki/C_preprocessor">http://en.wikipedia.org/wiki/C_preprocessor</a><br><br>Yes, it is unfortunate...<br></div>
</div>