[Expat-bugs] Cross compilation of expat

Gaurav Madhav gaurav.madhav at wipro.com
Thu Nov 19 10:13:13 CET 2009


Hi 
 
I am trying to compile Expat library using the cross compiler
(arm-wrs-linux-gnueabi-armv6jel-glibc_small-gcc). 
 
 I downloaded expat 2.0.0 and 2.0.1 from net and tried to execute the
following command  after untaring the package. 
 

./configure
--host=/home/crdev/spark/library/bcom/x86-linux2/arm-wrs-linux-gnueabi-armv6
jel-glibc_small-gcc --prefix=/home/crdev/expat/2.0.0/compiled/

After I execute this command, I am getting the following compilation error

configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration
`arm-wrs-linux-gnueabi-armv6jel-glibc_small-gcc': machine
`arm-wrs-linux-gnueabi-armv6jel-glibc_small' not recognized
configure: error: /bin/sh conftools/config.sub
arm-wrs-linux-gnueabi-armv6jel-glibc_small-gcc failed

However when i try to compile it using gcc,library(lexpat.a) are getting
generated properly.

Can you please suggest me what could be the problem.

Thanks 

Gaurav


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.libexpat.org/pipermail/expat-bugs/attachments/20091119/bcb59941/attachment.html>


More information about the Expat-bugs mailing list