[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] pkg-config: Add a pkg-config script for cross c
Re: [Qemu-devel] [PATCH] pkg-config: Add a pkg-config script for cross compilations
Sun, 11 Sep 2011 20:47:36 +0200
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:22.214.171.124) Gecko/20110831 Thunderbird/3.1.13
Am 11.09.2011 20:25, schrieb Paolo Bonzini:
On 09/11/2011 05:55 PM, Stefan Weil wrote:
This script can be used for cross compilations.
I use it on Debian / Ubuntu to provide a cross pkg-config
for MinGW (32 and 64 bit), ARM, MIPS and PowerPC.
I think the lack of such script is a bug in your distro. Fedora
provides /usr/bin/i686-pc-mingw32-pkg-config. You should report a bug
Well, Redhat has a large interest in QEMU, so I assume that Fedora
is better prepared for cross compilations than most other distributions.
Does it also provide cross glib-2.0, sdl, zlib, ...?
How does it implement cross pkg-config? As a binary compiled from source,
or as a script using native pkg-config?
Debian has only very limited cross development support.
Most cross packages I use come from Emdebian. I doubt that
they have the manpower to do more than they already do.
As far as I know, they don't provide any cross package which
needs a cross pkg-config, so the missing cross pkg-config is
not really a bug...
How about other distributions? Are there others beside Fedora
with good cross dev support? Some large embedded projects still build
their own cross toolchain instead of using precompiled binaries.
For all those which don't have a cross pkg-config, the script
saves the time and memory needed for building it.