I think I've identified the problem. There might be inconsistency in the script. In the README_INSTALL you write to give --host without the ending "-" whereas in the example it states to give --host=arm-none-linux-gnueabi- This is what happens when I write the host without the ending "-".
luke@dragilla:~/Desktop/moje/mini2440/xenomai-2.6.0-rc5$ ./configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" --host=arm-none-linux-gnueabi --build=i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking host system type... arm-none-linux-gnueabi checking for a BSD-compatible install... /usr/bin/install -c checking for arm-none-linux-gnueabi-gcc... arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t checking whether the C compiler works... no configure: error: in `/home/luke/Desktop/moje/mini2440/xenomai-2.6.0-rc5': configure: error: C compiler cannot create executables See `config.log' for more details Any ideas? -- Łukasz Dragilla Sacha On Mon, Oct 31, 2011 at 13:14, Łukasz Sacha <dragi...@gmail.com> wrote: > Hey, > > I'm following README_INSTALL from the xenoami 2.6 tree. I successfully > patched and built the kernel 2.6.38.8 and modules. Now I'm trying to > configure the user-space. > I'm running the configure command as given in the example: > ./configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" > --host=arm-none-linux-gnueabi- --build=i686-pc-linux-gnu > I get the following error: > checking build system type... i686-pc-linux-gnu > checking host system type... Invalid configuration > `arm-none-linux-gnueabi-': machine `arm-none-linux-gnueabi' not > recognized > configure: error: /bin/bash config/config.sub arm-none-linux-gnueabi- failed > > This is how my environment is setup: > luke@dragilla:~/Desktop/moje/mini2440/xenomai-2.6.0-rc5$ which > arm-none-linux-gnueabi-gcc > /home/luke/Desktop/moje/mini2440/arm-2008q3/bin/arm-none-linux-gnueabi-gcc > luke@dragilla:~/Desktop/moje/mini2440/xenomai-2.6.0-rc5$ echo $PATH > /home/luke/Desktop/moje/mini2440/arm-2008q3/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games > > No adequate info in the TROUBLESHOOTING. > > Am doing something wrong? Help me out please. > > regards, > -- > Łukasz Dragilla Sacha > _______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help