[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
Mon, 12 Sep 2011 08:25:10 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2
On 09/11/2011 08:47 PM, Stefan Weil wrote:
Well, Redhat has a large interest in QEMU, so I assume that Fedora
is better prepared for cross compilations than most other distributions.
Why are the two related? :) Fedora's cross compilation machinery is
indeed used by Red Hat for some virt-related stuff, but not for QEMU
even though I used it successfully for it. In fact, Fedora-mingw32
started as a special interest group entirely outside Red Hat.
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?
It's a script doing basically
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.
Yes, I agree. However, I still think it's better to prepare
documentation about how to cross compile (including fetching
dependencies etc.), and embed the script in the document.