gcc-4.5.0 Success Story with Freecell Solver
Shlomi Fish
shlomif at iglu.org.il
Wed Jun 16 13:47:35 IDT 2010
On Wednesday 16 Jun 2010 12:34:44 Diego Iastrubni wrote:
> On יום רביעי 16 יוני 2010 08:33:55 Shlomi Fish wrote:
> > Hi Diego,
> >
> > > (PS, If you want to fully bootstrap clang instead of just using stage1
> > > here, use this "ugly" shell script to get a "clang built with clang
> > > built clang", aka stage 3).
> > >
> > > Please report how good/bad clang is for your case.
> >
> > Well, after I built clang (which took a while) I was able to compile
> > Freecell Solver using it. The first thing I should note is that the
> > compilation appeared to have been much slower than with gcc.
>
> oops, you are using the debug build og clang. This is why it's so slow
> compiling :)
Ah, sorry for that.
>
> Look at the shell script attached to the last message, and use the cmake
> command there to configure clang:
>
> cmake -DCMAKE_BUILD_TYPE:STRING=Release ../
I see.
>
> To make a good comparison, please to boostrap clang properly (you need at
> least stage2, in theory from that point all binaries should be identical).
> Building clang here does take about an hour or two, yes, builind a C++
> compiler is a long compilation.
Indeed.
In any case, I don't suppose the benchmark results of fc-solve itself will be
different, because the output of the compiler should be the same in both
cases, right?
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Best Introductory Programming Language - http://shlom.in/intro-lang
God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
More information about the Linux-il
mailing list