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>LSB Version:    :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch<br>
Distributor ID:    RedHatEnterpriseWorkstation<br>Description:    Red Hat Enterprise Linux Workstation release 6.1 (Santiago)<br>Release:    6.1<br>Codename:    Santiago<br><br>--Dev<br> <br>This was taken with du -h bin/ and du -h lib/<br>
<br><div class="gmail_quote">On Thu, Sep 15, 2011 at 10:50 PM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@apple.com">echristo@apple.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"><br>
On Sep 15, 2011, at 10:06 AM, Devchandra L Meetei wrote:<br>
<br>
> Without asserts.<br>
> clang now takes<br>
><br>
> real    4m53.073s<br>
> user    4m1.323s<br>
> sys    0m40.077s<br>
> which is faster than g++<br>
> but still the memory foot print is more now with 238 MB<br>
><br>
<br>
</div>This is the memory footprint of clang vs g++? What are the comparisons? How are you compiling? How are you measuring the footprint? What system are you on?<br>
<font color="#888888"><br>
-eric<br>
</font></blockquote></div><br>