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/
|