ts-7000
[Top] [All Lists]

[ts-7000] Re: Apache2 cross compile for TS7400/TS7260/TS7200

To:
Subject: [ts-7000] Re: Apache2 cross compile for TS7400/TS7260/TS7200
From: "charliem_1216" <>
Date: Wed, 30 Jul 2008 19:45:49 -0000
Hi Jayne --

--- In  "Jayne Dickinson" <> wrote:
>
> Greetings,
> 
> I need to cross compile Apache2 and PHP5 for the TS7400 and TS7260 on
> my Intel Debian Workstation.
> 
> I have the following environment variables defined:
>
CC=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc
>
LD=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-ld
>
AS=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-as
> CFLAGS="-marm -fsigned-char"
> LDFLAGS=-L/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/lib
>
CPPFLAGS="-I/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/include/
> -I/usr/local/opt/ts7400-32-128F/dist/linux24/include/"
> 
> I downloaded from www.apache.org: httpd-2.2.9.tar.bz2
> I ran configure with the following:
> 
> ./configure --prefix=/usr/local/opt/crosstool --host=arm-linux
> --target=arm-linux --build=i686-linux

AFAIK host and build are the same in your case (you are not doing a
canadian cross).  Try just specifying --target, and let host & build
be autodetected as your x86 debian system.

> 
> 
> and got this error:
> 
> checking for /dev/zero... configure: error: cannot check for file
> existence when cross compiling
> configure failed for srclib/apr
> 
> 
> Argh...has anyone done this already? What have I done wrong?

You could also get the appropriate debian arm packages, and look at
the source, debian patchsets and configure commands as reference.  You
may find that the cross compile commands are the least of your
problems ...

regards, ...... Charlie


> Thanks for all your help!
> Jayne
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU