From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 19 Sep 2015 17:11:06 +0200 From: Gilles Chanteperdrix Message-ID: <20150919151106.GD22852@hermes.click-hack.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: vibnwis Cc: xenomai@xenomai.org On Sun, Sep 20, 2015 at 02:58:58AM +1200, vibnwis wrote: > Hi All, > > Having installed Xenomai, I am wanting to test Xenomai. > > If I understood the guide correctly under the title "Installing the Xenomai > libraries and tools", I would need to compile the libraries as well as the > test apps. For that I need to do by executing the command below in the > xenomai_root which in my case is xenomai_root=xenomai-3. However, the > configure file is not found. I am totally confused of what have I done > wrong? Any helps/advise would be appreciated. > > $xenomai_root/configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" \ > --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi- --with-core=cobalt -march=armv4t works for ARM processors using the ARMv4T architecture revision. The cortex A9 in an omap4460 uses the ARMv7 architecture revision. So, you should pass -march=armv7 instead, or -mcpu=cortex-a9 the argument to the --host option should not include the leading dash. the variable xenomai_root should probably be an absolute path. And note that if you downloaded xenomai-3 from its git repository as opposed to its latest archive, you also need to call autoreconf -i to create the configure scrippt. -- Gilles. https://click-hack.org