[PATCH Libgpg-error] gpg-error.m4: support pkg-config
Dirk Gottschalk
dirk.gottschalk1980 at googlemail.com
Thu Dec 6 23:52:33 CET 2018
Hello Alon.
Am Mittwoch, den 05.12.2018, 13:35 +0200 schrieb Alon Bar-Lev:
> On Tue, Dec 4, 2018 at 11:57 PM Dirk Gottschalk
> <dirk.gottschalk1980 at googlemail.com> wrote:
> > Hello Alon.
> > Am Dienstag, den 04.12.2018, 22:54 +0200 schrieb Alon Bar-Lev:
> > > On Tue, Dec 4, 2018 at 9:30 AM Werner Koch <wk at gnupg.org> wrote:
> > > > On Mon, 3 Dec 2018 00:31, alon.barlev at gmail.com said:
> > > >
> > > > > Please explain again why not give an option for downstream to
> > > > > build gnupg components using pkg-config, this does not take
> > > > > anything from whoever wishes to continue to use current mode.
> > I have no problem building the actual git snapshot of GPG only with
> > the installed libraries and header files from the system. So, what
> > are you complaining about? The .pc files which are not available in
> > your case?
> > Write them, if you want to link the libs with pkg-config for
> > configuration.
> > There is really no need of changing the build system at all. And
> > yes, it is autoconf. The scripts are a little complicated to read,
> > but it is autoconf, for sure, with some "extras".
> Just to make sure we are on the same page...
> Have you tried cross compile a complete solution of libraries? Have
> you tried cross-compile + multilib setup?
I compiled the libs for GnuPG on several platforms without any
problems. Usually I have the Systems which I compile for at least in a
virtual machine, so there is no need for cross compiling. But it should
work if the environment ist set up correctly, that I am sure of. There
is no program out there which cross compiles without any changes that
have to be made. On my fedora machine there are, for example, some
wrapper scripts if you want to cross compile for mingw which set up the
environment for configure, cmake and various other build systems.
> If you have, how many tweaks have you needed in order to make this
> work?
Even my own programs which are completely made with Autotools and
pkg-config need some tweaks if I want to cross compile them for
Windows, for example.
That's the reason why I prefer to compile on the target platform, this
makes life much easier. ^^
Regards,
Dirk
--
Dirk Gottschalk
Paulusstrasse 6-8
52064 Aachen, Germany
GPG: DDCB AF8E 0132 AA54 20AB B864 4081 0B18 1ED8 E838
Keybase.io: https://keybase.io/dgottschalk
GitHub: https://github.com/Dirk1980ac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20181206/5b82a86d/attachment.sig>
More information about the Gnupg-devel
mailing list