cross compiling, pc files and `PKG_CONFIG_SYSROOT_DIR`
Enrico Weigelt
weigelt at metux.de
Sat Jul 23 23:15:26 PDT 2011
* Paul Menzel <paulepanter at users.sourceforge.net> schrieb:
> I am sorry to bug you again. A lot of GNOME programs which include
> gnome-doc-utils exhibit this behavior and therefore it would be very
> cumbersome to change all calls to be able to cross compile them.
They're must likely buggy, or more precisely misdesigned.
The gnome-doc-utils should be generally treated as separate
build-time tool and maybe has to be fix to support sysroot.
> LinuxTag 2011 is going to start on Wednesday. If you could propose
> generic solution on how to determine the data directory when cross
> compiling this would be great, since I could bring up this problem and
> discuss proposed solutions directly with some developers.
There is no really generic solution, but just a few rules,
eg. full sysroot support and strictly differentiating between
build-time and target code (eg. bundled/builtin code generators).
Perhaps you'd like to read this:
http://www.metux.de/index.php/de/component/content/article/1-software-entwicklung/57-rules-for-distro-friendly-packages.html
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt at metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
More information about the pkg-config
mailing list