[LIBGPG-ERROR PATCH] doc: use compiler flags for yat2m when not cross-built.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Mar 23 21:20:29 CET 2018
On Tue 2018-03-20 08:25:56 +0100, Werner Koch wrote:
> On Tue, 20 Mar 2018 06:58, gniibe at fsij.org said:
>
>> Now (1.28) yat2m is installed by libgpg-error, but it's strange for me
>> that it's for native build only.
>
> Well, I don't see a reason to build it for the target (host) platform
> when cross-compiling. yat2m is a tool which is used to build software
> so when you are cross-compiling it should have been installed.
>
>> It is possible to support cross compiling with no yat2m installed on the
>> build system yet, but I don't think we should support this situation.
>
> We already have or will soon have other developments tools in
> libgpg-error as well. For example the gitlog-to-changelog which will
> eventually be moved from gnupg to libgpg-error.
>
> Is there a real need to cross-build development tools?
if you're trying to bootstrap a new platform, cross-building *some*
development tools can be pretty useful.
in this case, though, i don't think yat2m qualifies. The bootstrap
itself doesn't need documentation -- once you've bootstrapped, you can
re-build natively and the native re-build can include the documentation
development tools.
--dkg
More information about the Gnupg-devel
mailing list