How to cross compile?

Kelvin Xu kyoxu at
Mon Dec 25 22:14:23 PST 2006

Hi all,

I am trying to cross compile Dbus -1.0.2 over to a ARM processor.
I have successfully installed the libxml2 library. However, D bus complain
of the following error when i try to compile using make. I configure the
make file using this command without any errors:
    CC=armv5l-linux-gcc ./configure -host=i386-linux -target=arm-linux

The error is as follows:
   arm-linux/bin/ld:cannot find -lxml2

Is my cross compile command correct? It seems that linking to there are some 
problems linking to the correct libraries.

Will greatly appreciate any help provided. Thanks


Find just what you are after with the more precise, more powerful new MSN 
Search. Try it now.

More information about the dbus mailing list