Perrine Martignoni wrote:
>>Perrine, did you happen to configure Xenomai with "configure --host=arm
>>..."? If yes (see config.log), please use "--host=arm-linux". This
>>solved all issues for me.
>>
>>Awaiting your feedback!
>  
> I configure Xenomai with --host=arm.
> I tried to configure like this but it doesn't work :
>  
> ./configure --build=arm-linux --host=arm-linux CC=arm-linux-gcc
> CXX=arm-linux-g++ LD=arm-linux-ld --prefix=/usr/xenomai_arm-2.3.1uClibc/
> --enable-posix-auto-mlockall
> checking build system type... arm-unknown-linux-gnu
> checking host system type... arm-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for arm-linux-gcc... arm-linux-gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... configure: error: cannot run C
> compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> [EMAIL PROTECTED] xenomai-2.3.1 ]#

Unless you are actually building on an ARM system, you should either not
set --build (config.guess will then be used to guess the architecture)
or set it to the effective architecture of your platform (something like
i686-linux I presume). If you do not set --build, configure will produce
a warning saying that you should set --build instead of --host, simply
ignore this warning.

-- 
                                                 Gilles Chanteperdrix

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to