[Pkg-utopia-maintainers] Bug#560834: Bug#560834: dbus cannot be crosscompiled

arne anka debian at ginguppin.de
Sat Jan 16 14:48:15 UTC 2010


> I have no experience with cross compiling.
> What needs fixing in dbus so it can be cross compiled?

according to my notes i had to do

- add --host=arm-linux-gnueabi to debian/rules
- do (the ccflags are taken from the navit faq, didn't check if the have  
any effect here)
export CC=/usr/bin/arm-linux-gnueabi-gcc ; export CCFLAGS="-march=armv4t  
-mtune=arm920t"; fakeroot dpkg-buildpackage -b  -aarmel

but stuff like navit simply cross compiles out of the box with

fakeroot dpkg-buildpackage -b  -aarmel

and the build system picks the necessary information for host and target  
up. apparently dbus uses another way to build which is not really up to  
the task.





More information about the Pkg-utopia-maintainers mailing list