Yes you were right! That helped - thank you.
--
Łukasz Dragilla Sacha


On Mon, Oct 31, 2011 at 14:20, Patrice Kadionik
<kadio...@enseirb-matmeca.fr> wrote:
> Le 31/10/2011 14:13, Gilles Chanteperdrix a écrit :
>
> Hi,
>
> You have perhaps followed this tutorial for mini2440 (I've worked on this
> board in july ;-) ):
> http://code.google.com/p/friendlyarm/wiki/Linux_Tutorial
>
> Please try to unset  CC and CROSS_COMPILE.
>
> Pat.
>
>
>> 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.
>>
>
>
> --
> Patrice Kadionik. F6KQH / F4CUQ
> -----------
>
> +----------------------------------------------------------------------+
> +"Tout doit etre aussi simple que possible, pas seulement plus simple" +
> +----------------------------------------------------------------------+
> + Patrice Kadionik             http://www.enseirb-matmeca.fr/~kadionik +
> + IMS Laboratory               http://www.ims-bordeaux.fr/             +
> + ENSEIRB-MATMECA              http://www.enseirb-matmeca.fr           +
> + PO BOX 99                    fax   : +33 5.56.37.20.23               +
> + 33402 TALENCE Cedex          voice : +33 5.56.84.23.47               +
> + FRANCE                                                               +
> +----------------------------------------------------------------------+
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@gna.org
> https://mail.gna.org/listinfo/xenomai-help
>

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

Reply via email to