Aha, forgot to mention, debug is enebled in both the clang++ and g++.<br>All the flags are same in both the clang++ and g++<br><br>--Dev<br><br><div class="gmail_quote">On Thu, Sep 15, 2011 at 11:38 PM, Benjamin Kramer <span dir="ltr"><<a href="mailto:benny.kra@googlemail.com">benny.kra@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Thu, Sep 15, 2011 at 11:02, Devchandra L Meetei <<a href="mailto:dlmeetei@gmail.com">dlmeetei@gmail.com</a>> wrote:<br>

> I have compiled clang by checking out from svn today morning<br>
> ./configure --enable-optimized --disable-assertions<br>
> make<br>
> Then I exported CXX and CC to the path to binary clang<br>
> then compile the pegasus code.<br>
> Memory footprint for clang vs g++(4.4.5)<br>
> clang<br>
> ----------------<br>
> 92M    lib/<br>
> 50M    bin/<br>
> ---------------<br>
> g++<br>
> 56M    lib/<br>
> 42M    bin/<br>
<br>
</div>Which flags did you use to compile it? Is debug info enabled ("-g")?<br>
Did you compile your code with or without optimization?<br>
<br>
- Ben<br>
</blockquote></div><br>