All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrice Kadionik <kadionik@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] configuring user-space xenomai 2.6
Date: Mon, 31 Oct 2011 14:20:43 +0100	[thread overview]
Message-ID: <4EAEA0AB.4010102@domain.hid> (raw)
In-Reply-To: <4EAE9EDE.5030501@domain.hid>

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@domain.hid$
>> 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                                                               +
+----------------------------------------------------------------------+



  reply	other threads:[~2011-10-31 13:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-31 12:14 [Xenomai-help] configuring user-space xenomai 2.6 Łukasz Sacha
2011-10-31 12:35 ` Łukasz Sacha
2011-10-31 12:52   ` Łukasz Sacha
2011-10-31 13:13     ` Gilles Chanteperdrix
2011-10-31 13:20       ` Patrice Kadionik [this message]
2011-10-31 13:29         ` Łukasz Sacha
2011-10-31 13:45           ` Łukasz Sacha
2011-10-31 13:48             ` Łukasz Sacha
2011-10-31 13:54               ` Gilles Chanteperdrix
2011-10-31 13:58                 ` Łukasz Sacha
2011-10-31 13:23       ` Łukasz Sacha
2011-10-31 13:33         ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EAEA0AB.4010102@domain.hid \
    --to=kadionik@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.