[xml] Trying to make libxml2 for arm (TI DaVinci)



I'm trying to make libxml2 for the arm processor on a TI DaVinci SoC
(TMS320DM6467T).  For all the other tool chain stuff for this processor,
one uses CC=/opt/arm-2009q1/bin/arm-none-linux-gnueabi-gcc .  I've tried
various things, searched on http://www.xmlsoft.org, and still can't get it
to work.

I'm running Ubuntu on VMWare on WindowsXP.  I'm trying to compile under
Ubuntu Linux the stuff to later run on the TMS320DM6467T (Arago Linux).

I've tried "./configure CC=/opt/arm-2009q1/bin/arm-none-linux-gnueabi-gcc"
and it says:

    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... /opt/arm-2009q1/bin/arm-none-linux-gnueabi-gcc
checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... configure: error: in
`/home/helmutforren/dvsdk/dvsdk_3_10_00_11/libxml2-2.7.8':
    configure: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details

When I also try to add --host, I don't know what value to provide.  I'm
not sure if "host" refers to my target (arm processor) or the machine I'm
compiling from (Ubuntu).  I would think I need to specify --target and not
--host.  I'm just totally confused!

Please note I'm very new to this type of admin work on Linux.







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]