From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4EAEA0AB.4010102@domain.hid> Date: Mon, 31 Oct 2011 14:20:43 +0100 From: Patrice Kadionik MIME-Version: 1.0 References: <4EAE9EDE.5030501@domain.hid> In-Reply-To: <4EAE9EDE.5030501@domain.hid> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai-help] configuring user-space xenomai 2.6 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Le 31/10/2011 14:13, Gilles Chanteperdrix a =C3=A9crit : Hi, You have perhaps followed this tutorial for mini2440 (I've worked on=20 this board in july ;-) ):=20 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, =C5=81ukasz Sacha wrote: >> This is the line configure generated to test whether compiler works: >> arm-none-linux-gnueabi-gcc =E2=80=93march=3Darmv4t =E2=80=93mtune=3Dar= m920t -o conftest >> -march=3Darmv4t -march=3Darmv4t conftest.c >> (notice tripple -march=3Darmv4t) >> >> when I execute it it gives me: >> arm-none-linux-gnueabi-gcc: =E2=80=93march=3Darmv4t: No such file or d= irectory >> arm-none-linux-gnueabi-gcc: =E2=80=93mtune=3Darm920t: 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=3Darmv4t it doesn't work either. >> luke@domain.hid$ >> arm-none-linux-gnueabi-gcc -march=3Darmv4t =E2=80=93mtune=3Darm920t -o= conftest >> conftest.c >> arm-none-linux-gnueabi-gcc: =E2=80=93mtune=3Darm920t: 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 automaticall= y >> passed on to the various sub-processes invoked by arm-none-linux-gnu= eabi-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. > --=20 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 + +----------------------------------------------------------------------+