From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Sebastian Pavez <sebastian.pavez.t@gmail.com>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] Compiling the Xenomai examples 2.0
Date: Wed, 07 Nov 2012 16:20:49 +0100 [thread overview]
Message-ID: <509A7C51.9010702@xenomai.org> (raw)
In-Reply-To: <509A7839.40509@gmail.com>
On 11/07/2012 04:03 PM, Sebastian Pavez wrote:
> El 05/11/2012 15:49 p.m., Gilles Chanteperdrix escribió:
>> On 11/05/2012 04:09 PM, Sebastian Pavez wrote:
>>
>>> make -C /usr/src/linux-3.2.32 ARCH= CROSS_COMPILE=
>>> (...)
>>> What should I do??
>>
>> Read the documentation? Documentation/kbuild/modules.txt in the kernel
>> sources for starters. The above line can not work.
>>
> Thank you for your answer.
> I've been reading the documentation you suggest me and also something
> about the Makefile stuff.
> It's imperative to do the process with the modules?
If is not imperative at all to compile the examples, xenomai comes with
a testsuite which allows you to test whether your system runs correctly.
The aim of the examples is to show you how to compile code outside
xenomai build system.
I mean, I've
> followed the instructions on http://www.xenomai.org/index.php/Examples
> but not for
> cross-compiling and I supposed that with those instructions would be enough.
>
> The native examples compile fine, but the posix ones don't (and I'm
> planning to u se posix). I understand the line
>
> make -C /usr/src/linux-3.2.32 ARCH= CROSS_COMPILE=
>
> looks weird and there's a problem because after that it gives me
> "/usr/src/linux-3.2.32/arch//Makefile: No such file or directory", but
> if I'm not cross-compiling what should I do?
What about passing a correct value for the ARCH variable, as described
in Documentation/kbuild/kbuild.txt?
--
Gilles.
prev parent reply other threads:[~2012-11-07 15:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-05 15:09 [Xenomai] Compiling the Xenomai examples 2.0 Sebastian Pavez
2012-11-05 18:49 ` Gilles Chanteperdrix
2012-11-07 15:03 ` Sebastian Pavez
2012-11-07 15:20 ` Gilles Chanteperdrix [this message]
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=509A7C51.9010702@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=sebastian.pavez.t@gmail.com \
--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.