pkg-config and cross compiling
Enrico Weigelt
weigelt at metux.de
Sun Apr 6 12:13:23 PDT 2008
* Erik de Castro Lopo <mle+tools at mega-nerd.com> schrieb:
> I've also just found this:
>
> http://pkg-config.freedesktop.org/wiki/CrossCompileProposal
>
Sorry for being rude, but IMHO this is crap. Building the pathname
from the target-type only helps in very few cases where you have
only *one* crosscompiler per targettype.
I've got dozens for the same targettype, so I'll get into big
trouble when trying to rely on that option. (Same applies also
to the --host configure option).
IMHO, the *clean* way is using sysroot.
(-> +100 for getting the fixed version released asap)
BTW: if you're doing lots of crosscompile's, you most likely want
to use an buildsystem which does all the dirty work (tracking
dependencies, setting up sysroot, passing the right toolchain)
for you.
I've got my own (commercial) tool for that. If you like, you can
get a free evalution copy :)
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
More information about the pkg-config
mailing list