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]#
On 5/31/07, Daniel Schnell <[EMAIL PROTECTED]> wrote:
I checked README.INSTALL for the ppc part and there the documentation is
also wrong.
I think I have to reinstall Xenomai now and take out the Wl,--start-group
in our make files ...
Very interesting thread.
Best regards,
Daniel.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jan Kiszka
Sent: 31. maí 2007 09:05
To: Perrine Martignoni
Cc: [email protected]
Subject: Re: [Xenomai-help] Xenomai with µClibc
Jan Kiszka wrote:
> I noticed that linking like this
>
> arm-linux-gcc ...<flags> <object>.o -lpthread -lrt -lpthread_rt ...
>
> doesn't raise the error. But linking like this
>
> arm-linux-gcc `xeno-config --posix-ldflags` <object>.o -o <target>
>
> ie. the standard way for external Xenomai POSIX apps, causes even more
> problems with this toolchain (it's fine here for native builds).
> Anyone any comments? Maybe Wolfgang?
Reason found, I think. No ELDK issue, rather a bug in Xenomai's
README.INSTALL:
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!
Jan
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help