From: Philippe Gerum <rpm@xenomai.org>
To: niklaus.giger@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Problem running koan (UVM)
Date: Fri, 02 Dec 2005 11:26:48 +0100 [thread overview]
Message-ID: <43902168.8060205@domain.hid> (raw)
In-Reply-To: <200512012201.21380.niklaus.giger@domain.hid>
Niklaus Giger wrote:
> Hi
>
> Many thanks to Philip Gerum for his previous help!
>
> I am no able to sucessfully link koan on my PPC405 board.
>
> However after calling
> $ koan
> The only output I get is
> Xenomai/uvm: real-time nucleus v2.1 (Surfing With The Alien) loaded.
> koan was linked like this:
> /home/hcu/tools/gcc-3.4.4-glibc-2.3.5/powerpc-405-linux-gnu/bin/powerpc-405-linux-gnu-g++
> -g -o koan /home/hcu/project/bb/3_1_x/work/xeno/koan.o
> -u__xeno_skin_init -L/mnt/data.ng/hcu/rootfs/usr/xenomai/lib -luvm -lnucleus
> -lpthread -lnative -lvxworks
>
> Nothing more. I know its now time to build the GDB stub, but as it is the
> first time that I do this it will take a moment to read the documentation.
>
> In the mean time any help would be appreciated.
>
> Looking at the output of xeno-config in my cross compile case I think that one
> should create two xeno-config's one representing the target's view and one
> for the host which did the cross-compile, e.g.creating in the build directory
> a xeno-config-host.
Actually, xeno-config currently always presents the build system's view
(e.g the cross-compiling side). E.g., compiling the user-space support
for some ppc architecture can be done this way:
.../configure --build=`config.guess` --host=powerpc-unknown-linux-gnu
CC=ppc_82xx-gcc CXX=ppc_82xx-gcc AR=ppc_82xx-ar LD=ppc_82xx-ld
Since xeno-config is informed of the build setup determined by
configure, it will return the cross-compiler path and the proper
compilation and link flags for building executables for the target
already. Following the above example, CC, CXX, compilation and link
flags will be the ones used to cross-compile an executable on the
current build system for the target system.
And how should we handle a canadian cross?
>
Never considered the issue so far, quite frankly. Do you actually want
to cross-build Xenomai systems that would in turn cross-build Xenomai apps?
--
Philippe.
next prev parent reply other threads:[~2005-12-02 10:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-01 21:01 [Xenomai-help] Problem running koan (UVM) Niklaus Giger
2005-12-02 10:26 ` Philippe Gerum [this message]
2005-12-03 11:05 ` Niklaus Giger
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=43902168.8060205@domain.hid \
--to=rpm@xenomai.org \
--cc=niklaus.giger@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.