From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4EAE9EDE.5030501@domain.hid> Date: Mon, 31 Oct 2011 14:13:02 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 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: =?UTF-8?B?xYF1a2FzeiBTYWNoYQ==?= Cc: xenomai@xenomai.org 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=3Darm= 920t -o conftest > -march=3Darmv4t -march=3Darmv4t conftest.c > (notice tripple -march=3Darmv4t) >=20 > when I execute it it gives me: > arm-none-linux-gnueabi-gcc: =E2=80=93march=3Darmv4t: No such file or di= rectory > arm-none-linux-gnueabi-gcc: =E2=80=93mtune=3Darm920t: No such file or d= irectory > arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory > arm-none-linux-gnueabi-gcc: no input files >=20 > 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 d= irectory > arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory > arm-none-linux-gnueabi-gcc: no input files >=20 > .. 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-gnuea= bi-gcc." >=20 > Seems -mtune is not recognized by some subprocess, but which and why? >=20 > 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 Gilles.