emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The 'cross' directory


From: Po Lu
Subject: Re: The 'cross' directory
Date: Tue, 08 Aug 2023 08:51:45 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> The file cross/README, though somewhat terse, seems to say that this
> directory is for cross-building Emacs.  AFAIK the only target for
> which Emacs can currently be cross-built is Android.  But the portion
> of configure.ac that creates subdirectories in this directory and
> copies (links) files there is conditioned by
>
>   if test "$XCONFIGURE" != "android"; then
>
> So this seems to run in any build but Android?

XCONFIGURE is only set within the second invocation of `configure'
during the Android configuration process, which creates Makefiles that
are subsequently copied into the cross directory.

This code is only meant to run inside the initial configuration for the
build machine.

> In any case, it sounds like creating those subdirectories and linking
> files there is only needed in the Android build.  And if so, can we
> please avoid doing this unnecessary stuff in other builds?

Yes, will do.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]