Cross compiling for ARM

Rob Taylor robtaylor at floopily.org
Tue Nov 8 11:09:56 PST 2005


Frederic Danis wrote:
> John (J5) Palmieri wrote:
> 
>> On Tue, 2005-11-08 at 18:26 +0100, Frederic Danis wrote:
>>  
>>
>>> Hello,
>>>
>>> I am trying to cross compile DBus 0.32 for ARM target (using X86
>>> Ubuntu) but this failed when "make" try to build glib/examples (and
>>> try to use just compiled dbus-binding-tool in ARM version).
>>> Did somebody got an idea how I can cross compile DBus ?
>>>   
>>
>>
>> You are not going to be able to with the glib bindings enabled.  I think
>> we need to turn off the introspection stuff in the build and just supply
>> generated introspection data.  You can compile the base libs with
>> --disable-glib.
>>
>>  
>>
> Thanks for your answer, I agree with you that I can use generated
> introspection data.
> But did you got an idea of how to compile DBus with GLib support but
> without introspection stuff ?


I would reccomend using scratchbox [1] or go look at how the
openembedded project [2] compiles it (it presumably does a kind of
two-stage bootstrap)

Thanks,
Rob Taylor

[1] http://www.scratchbox.org/
[2] http://openembedded.org



More information about the dbus mailing list