"Neil Jerram" <[EMAIL PROTECTED]> writes:

> On 10/10/2008, Greg Troxel <[EMAIL PROTECTED]> wrote:
>> I am not really following, but does this make it harder to cross-compile
>>  guile than it is now?
>
> I don't think so.  In the Guile build, 'make' already executes the
> built guile in order to generate the online help
> (guile-procedures.txt).

That seems fixable by expecting native guile to be present when cross
building.

> With this patch, 'make' will run guile again to generate
> stack-limit-calibration.scm, which is then used by 'make check'.
>
> If running the built guile is a problem in your project, you
> presumably cannot do 'make check'.

Cross builds can't run what is built, but I think in general one has to
for make check, so it's just that cross builds can never do make check.
So therefore things are no worse, and that was all I was asking.

> In that case, you could suppress the generation of
> stack-limit-calibration.scm by removing it from BUILT_SOURCES in
> libguile/Makefile.am.  Perhaps there is an incantation for doing that
> automatically when cross-compiling? - patch welcome!

It would be nice to make that get generated only by make check, and not
the regular build, but I am not using guile on the project and probably
won't have enough Copious Spare Time to do this.

Attachment: pgp9yfs1TCDAF.pgp
Description: PGP signature

Reply via email to