$ cd /opt/linux-2.6.33
$ /opt/xenomai-2.5.3/configure --build=i686-pc-linux-gnu
--host=arm-none-linux-gnueabi --enable-arm-mach=omap3 --enable-arm-tsc
$ mkdir staging_dir
$ make DESTDIR=/opt/linux-2.6.33/staging_dir install

ok i edited my installing document and it works thank you. now how can i
test that? is it work or not?

2010/7/23 Gilles Chanteperdrix <[email protected]>

> Görkem Karadoğan wrote:
> > $ /opt/xenomai-2.5.3/scripts/prepare-kernel.sh --arch=arm \
> >
> > --adeos=/opt/xenomai-2.5.3/ksrc/arch/arm/patches/adeos-ipipe-2.6.33-arm-*
> \
> >   --linux=/opt/linux-2.6.33/
> > $ cd /opt/linux-2.6.33/
> > $ mkdir build_root
> > $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
> > O=/opt/linux-2.6.33/build_root omap3_evm_defconfig
> > $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
> > O=/opt/linux-2.6.33/build_root bzImage modules
> >
> > $ cd /opt/linux-2.6.33/build_root
> > $ /opt/xenomai-2.5.3/configure --build=i686-pc-linux-gnu
> > --host=arm-linux --enable-arm-mach=omap3 --enable-arm-tsc
> > $ mkdir staging_dir
> > $ cd ..
> > $ make DESTDIR=/opt/linux-2.6.33/staging_dir install ///// I got this
> > error in this part.
>
>
> > libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/opt/xenomai-2.5.3/src/rtdk
> > -I../../src/include -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -pipe
> > -march=armv7-a -D__XENO__ -D__IN_XENO__ -Wstrict-prototypes
> > -I/opt/xenomai-2.5.3/include -MT librtdk_la-init.lo -MD -MP -MF
> > .deps/librtdk_la-init.Tpo -c /opt/xenomai-2.5.3/src/rtdk/init.c  -fPIC
> > -DPIC -o .libs/librtdk_la-init.o
> > /opt/xenomai-2.5.3/src/rtdk/init.c:1: error: bad value (armv7-a) for
> > -march= switch
> > /opt/xenomai-2.5.3/src/rtdk/init.c:1: error: bad value (armv7-a) for
> > -mtune= switch
>
> Sorry, wrong answer. You have not told configure the proper compilation
> prefix, so, it failed finding "arm-linux-gcc", and fall back to gcc.
> Unfortunately, gcc is not able to generate arm code, only
> arm-none-linux-gnueabi-gcc is.
>
> pass --host=arm-none-linux-gnueabi to configure, or pass a value for CC
> on configure command line.
>
> --
>                                             Gilles.
>
>
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to