Re: switchover to ccc
Tavis Ormandy <[email protected]>
| Newsgroups | gmane.linux.gentoo.alpha |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Jul 27, 2003 at 04:03:31PM -0800, [email protected] wrote: > Tavis, I was thinking about your docs for bootstrapping gentoo > with ccc on alphas. As I've never completed a gentoo install, > I was wondering if I could get the system up and running with > gcc, and later recompile things with ccc. > > Would that work? Would there be parts of the system that couldn't > be recompiled/replaced so easily? > You can recompile a lot of things, i reccomend Perl, Python, bash, etc. You will definitely notice a performance increase, you might want to take some benchmarks before recompiling just to compare gcc vs. ccc :) hints: # you can use this simple script to test python, 1000 is the default # number of iterations, which isnt very much, i changed it to 100000 for # mine. i think i was pulling approx. 1000 extra pystones a second with # ccc (faster portage :-)) $ python /usr/lib/python2.2/test/pystone.py # there are some simple benchmarks for perl in this perldoc page, in the # EXAMPLES section. also check here http://www.metacard.com/perlbench.html $ perldoc Benchmark # you can time some loop or something to test bash, maybe like this... $ time for ((i=1;i<10000;i++)); do let ++i**i--; done If you get some interesting results you should post them to the list :) You wont be able to recompile any libraries with ccc (openssl,zlib,etc.), unless your prepared to recompile everything that links with it (they're not compatible). Good luck :) -- ------------------------------------- [email protected] | finger me for my gpg key. ------------------------------------------------------- -- [email protected] mailing list