I used the toolchain from codesourcery
(http://www.codesourcery.com/sgpp/lite/arm/portal/package3696/public/arm-none-linux-gnueabi/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2).
The one downloaded from the ubuntu repos behaves the same way.
--
Łukasz Dragilla Sacha



On Mon, Oct 31, 2011 at 14:13, Gilles Chanteperdrix
<gilles.chanteperd...@xenomai.org> wrote:
> On 10/31/2011 01:52 PM, Łukasz Sacha wrote:
>> This is the line configure generated to test whether compiler works:
>> arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t -o conftest
>> -march=armv4t -march=armv4t conftest.c
>> (notice tripple  -march=armv4t)
>>
>> when I execute it it gives me:
>> arm-none-linux-gnueabi-gcc: –march=armv4t: No such file or directory
>> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory
>> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory
>> arm-none-linux-gnueabi-gcc: no input files
>>
>> However with a single  -march=armv4t it doesn't work either.
>> luke@dragilla:~/Desktop/moje/mini2440/xenomai-2.6.0-rc5$
>> arm-none-linux-gnueabi-gcc -march=armv4t –mtune=arm920t -o conftest
>> conftest.c
>> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory
>> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory
>> arm-none-linux-gnueabi-gcc: no input files
>>
>> .. which is strange, because arm-none-linux-gnueabi-gcc --help tells
>> me all the options are ok:
>> "Options starting with -g, -f, -m, -O, -W, or --param are automatically
>>  passed on to the various sub-processes invoked by 
>> arm-none-linux-gnueabi-gcc."
>>
>> Seems -mtune is not recognized by some subprocess, but which and why?
>>
>> cheers :)
>
> Strange toolchain. I use codesourcery toolchain and never observed such
> behaviour. You should make sure the toolchain you use works before
> trying and compiling xenomai.
>
> --
>                                                                Gilles.
>
>

_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help

Reply via email to