* [Xenomai-help] Problem running koan (UVM)
@ 2005-12-01 21:01 Niklaus Giger
2005-12-02 10:26 ` Philippe Gerum
0 siblings, 1 reply; 3+ messages in thread
From: Niklaus Giger @ 2005-12-01 21:01 UTC (permalink / raw)
To: xenomai
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. And how should we handle a canadian cross?
Regards
--
Niklaus Giger
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Problem running koan (UVM)
2005-12-01 21:01 [Xenomai-help] Problem running koan (UVM) Niklaus Giger
@ 2005-12-02 10:26 ` Philippe Gerum
2005-12-03 11:05 ` Niklaus Giger
0 siblings, 1 reply; 3+ messages in thread
From: Philippe Gerum @ 2005-12-02 10:26 UTC (permalink / raw)
To: niklaus.giger; +Cc: xenomai
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Problem running koan (UVM)
2005-12-02 10:26 ` Philippe Gerum
@ 2005-12-03 11:05 ` Niklaus Giger
0 siblings, 0 replies; 3+ messages in thread
From: Niklaus Giger @ 2005-12-03 11:05 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai
Am Freitag, 2. Dezember 2005 11.26 schrieb Philippe Gerum:
> 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-4
> >05-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
Thanks for the hint. As I compile my own sources using jam. I had to use
different means to get the same results.
> 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?
No. It was more a matter of curiosity. But the cross-compile case interests me
really.
--
Niklaus Giger
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-12-03 11:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-01 21:01 [Xenomai-help] Problem running koan (UVM) Niklaus Giger
2005-12-02 10:26 ` Philippe Gerum
2005-12-03 11:05 ` Niklaus Giger
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.