Hofer Andreas
2013-08-19 09:50:07 UTC
Hi,
is it possible to to compile linuxcnc on a x86 host platform for an ARM
Target platform?
I have installed the codesourcery toolchain.
Crosscompiling some Hello World application for ARM ist no problem, but
when i do this on linuxcnc there come some errors.
1.) sh autogen.sh
2.) ./ configure --with-threads=rt-preempt-user
--> Error:
"checking for RT dir... configure: error: RT not found. Specify:
--with-realtime=<path>
or use
--enable-simulator
to build without a realtime system."
I think here the script is searching the actual kernel, but on my host
machine i have no rt-kernel installed.
When i give the path from kernel source like,
$ ./configure --with-realtime=
/media/Datas/ARM-Kernel/panda-linux-3.8.13-rt/
Also a error occurs like:
"checking for RT dir... configure: error: You must supply a path for
--with-realtime.
"
If there any way to give the configure script the target rt-kernel source?
I think when i have the right configuration, i can compile with:
sudo make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi
thx
andi
is it possible to to compile linuxcnc on a x86 host platform for an ARM
Target platform?
I have installed the codesourcery toolchain.
Crosscompiling some Hello World application for ARM ist no problem, but
when i do this on linuxcnc there come some errors.
1.) sh autogen.sh
2.) ./ configure --with-threads=rt-preempt-user
--> Error:
"checking for RT dir... configure: error: RT not found. Specify:
--with-realtime=<path>
or use
--enable-simulator
to build without a realtime system."
I think here the script is searching the actual kernel, but on my host
machine i have no rt-kernel installed.
When i give the path from kernel source like,
$ ./configure --with-realtime=
/media/Datas/ARM-Kernel/panda-linux-3.8.13-rt/
Also a error occurs like:
"checking for RT dir... configure: error: You must supply a path for
--with-realtime.
"
If there any way to give the configure script the target rt-kernel source?
I think when i have the right configuration, i can compile with:
sudo make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi
thx
andi