In message <[EMAIL PROTECTED]>
          Sascha Schumann <[EMAIL PROTECTED]> wrote:

> On Thu, 2 Jan 2003, Alex Waugh wrote:
> 
> > In message <[EMAIL PROTECTED]>
> >           Sascha Schumann <[EMAIL PROTECTED]> wrote:
> >
> > > > You can; I cross compile it regularly.
> > >
> > >     What is your target/host platform then?
> >
> > Building on Linux, targetting RISC OS.
> 
>     Are our defaults directly applicable to RISC OS?  Or how do
>     you manage that configure produces an appropiate
>     php_config.h for that target?

The vast majority of tests don't require running a test program,
therefore they work equally well whether cross compiling or not. On the
few that do, the default is usually fine. For those that it gets wrong
the easiest way to change them is to put the correct values in
config.cache before running configure. eg. currently I'm doing the
following:

cat > config.cache << EOF
ac_cv_path_PROG_SENDMAIL=\${ac_cv_path_PROG_SENDMAIL=\<PHP\\\$Mail\>}
lt_cv_prog_cc_can_build_shared=\${lt_cv_prog_cc_can_build_shared=no}
lt_cv_prog_cc_pic_works=\${lt_cv_prog_cc_pic_works=no}
EOF

./configure --host=arm-riscos-aof --with-config-file-path=/Choices:

Alex

-- 
Alex Waugh                  [EMAIL PROTECTED]

RISC OS software from http://www.alexwaugh.com/

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to