From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4B72A43C.5090605@domain.hid> Date: Wed, 10 Feb 2010 13:19:08 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <8b216e9e1002100327h3aa332ddl13ec590fcb81f0b7@domain.hid> <4B729B04.9010909@domain.hid> <8b216e9e1002100349y71f40d9ct9cbf496846f33f2e@domain.hid> In-Reply-To: <8b216e9e1002100349y71f40d9ct9cbf496846f33f2e@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai-help] Problems when cross-compiling Xenomai List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?RmVsaXBlIEJyYW5kw6NvIENhdmFsY2FudGk=?= Cc: Xenomai help Felipe Brand=C3=A3o Cavalcanti wrote: > 2010/2/10 Gilles Chanteperdrix >=20 >> Felipe Brand=C3=A3o Cavalcanti wrote: >>> Hello, >>> >>> I am having some problems when trying to cross-compile the userspace >> portion >>> of the latest Xenomai (2.5.1) for ARM. I am attempting to get Xenomai= >>> running on a IGEPv2 OMAP board (Beagleboard based), so I am >> cross-compiling >>> with bitbake on top of a poky Linux distribution. >> Do you have the same problem if you build Xenomai user-space portion >> running the standard build procedure without additional CFLAGS and LDF= LAGS? >> >> > I have not tried this - the cross compiler automatically adds them, and= I am > not sure what I can remove. However, I will try removing them to see wh= at > works. One thing that I noticed using the -k option in the make command= is > that compiling fails only in the testsuite. Just tried to compile xenomai for beagle. The command line which you should have, except for the paths, should be: libtool: link: /home/gilles/src/xenomai/xenomai-2.5/scripts/wrap-link.sh arm-none-linux-gnueabi-gcc -mfpu=3Dvfp3 -mfloat-abi=3Dsoftfp -march=3Darm= v7-a -g -O2 -Wl,@/home/gilles/files/src/xenomai/xenomai-2.5/src/skins/posix/posix.wra= ppers -mfpu=3Dvfp3 -mfloat-abi=3Dsoftfp -march=3Darmv7-a -o .libs/cyclictest cyclictest-cyclictest.o ../../skins/posix/.libs/libpthread_rt.so -lpthread -lrt -Wl,-rpath -Wl,//lib --=20 Gilles Chanteperdrix, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com