[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Performance tracking
From: |
Ludovic Courtès |
Subject: |
Re: Performance tracking |
Date: |
Sat, 05 May 2012 23:07:34 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux) |
Hi Noah,
Noah Lavine <address@hidden> skribis:
> One idea I had been toying with is whether Guile could compile faster
> if it had another copy of Guile already around, so it could skip the
> portion of compile-time where the interpreter is running the compiler.
> This is how most compilers do it - you want another C compiler around
> to compile GCC, etc. I was afraid that this would result in a
> too-complicated build system, but maybe not. Does anyone have
> experience with implementing something like this?
$GUILE_FOR_BUILD is used when cross-compiling Guile itself–i.e., a
native Guile is needed to cross-build Guile.
And according to <http://hydra.nixos.org/build/2517410>, Guile is
cross-built in ~4m, whereas the native Guile itself is cross-built in ~40m.
Now, using $GUILE_FOR_BUILD to build the native Guile itself would be
tricky, because there’s no distinction between the run-time load path
and the compiler’s search path (see ‘GUILE_CHECK_GUILE_FOR_BUILD’ in
acinclude.m4.)
Thanks,
Ludo’.