Double the speed of ct-ng with CONFIG_SHELL=/bin/ash
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Mon Aug 25 17:04:00 GMT 2008
Hello Martin!
Hello All!
On Monday 25 August 2008 18:39:09 Martin Guy wrote:
> You can roughly halve* the time that a ct-ng build takes by saying:
> CONFIG_SHELL=/bin/ash ct-ng build
That's nice! :-) I will add this as a config option, and crosstool-NG will
set it if asked for.
> I guess the other binutils versions would need the same thing.
2.18.50.0.8 works around the shell not having the BASH_LINENO variable by not
using it at all, and thus not storing the correct lineno in the generated
files. The fix is not needed, at the expense of a little less info. This can
nonetheless be improved upon...
> *) the GMP build dropped from 230 seconds to 150, and is now hovering
> at 108 seconds.
(*)Whoo! :-)
Regards,
Yann E. MORIN.
(*) Bah I just upgraded my machine so that I don't wait to long for the builds
to complete: compile time was divided by about 7. GMP takes only 35" and
MPFR 33", now (with checking)! :-]
YEM.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< ^_^ >==-- `------------.-------: X AGAINST | /e\ There is no |
| http://ymorin.is-a-geek.org/ | | / \ HTML MAIL | """ conspiracy. |
`------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list