Thursday, September 23, 2004, 6:01:40 PM, Daniel wrote:

> [...] I want to use the
> configure-script. Can you give me a hint?
> I tried --prefix=($PREFIX) --host=cris-axis-linux-gnu
> --target=cris-axis-linux-gnu --build=cris-axis-linux-gnu.

--host=cris-axis-linux-gnu ???

> [...]
 
> The last lines from the output:

> [...]
> gcc-cris -isystem
> /var/axis/axis/devboard_82/target/cris-axis-linux-gnu/include
> -mlinux -g -O2 -o temp temp.c
> ./temp >config.h
> /bin/sh: line 1: ./temp: cannot execute binary file

./temp must be compiled for the target, but is run on the host.

This seems unlikely to work in general!

Perhaps you can create a config.h file manually and remove it as a
target of the Makefile.

e


Reply via email to