From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Ran Shalit <ranshalit@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] xenomai & zynq
Date: Tue, 3 May 2016 23:17:15 +0200 [thread overview]
Message-ID: <20160503211715.GJ1761@hermes.click-hack.org> (raw)
In-Reply-To: <20160503204457.GI1761@hermes.click-hack.org>
On Tue, May 03, 2016 at 10:44:57PM +0200, Gilles Chanteperdrix wrote:
> On Tue, May 03, 2016 at 11:21:16PM +0300, Ran Shalit wrote:
> > Hello,
> >
> > I hope someone will have idea about the following.
> > I try to build xenomai 3 .
> > The configure seems to works fine, but
> > make <DESTDIR> install, gives errors:
> > ".....
> > Making install in init
> > make[4]: Entering directory
> > `/home/ubuntu/zynq/xenomai_3/xenomai-3.0.2/lib/boilerplate/init'
> > CC libbootstrap_a-bootstrap.o
> > In file included from ../../../include/xenomai/init.h:21:0,
> > from bootstrap.c:23:
> > ../../../include/boilerplate/setup.h:27:2: error: unknown type name 'cpu_set_t'
> > cpu_set_t cpu_affinity;
> > ^
> > ../../../include/boilerplate/setup.h: In function 'get_program_name':
> > ../../../include/boilerplate/setup.h:107:2: error: implicit
> > declaration of function 'basename'
> > [-Werror=implicit-function-declaration]
> > return basename(__base_setup_data.arg0 ?: "program");
> > ^
> > ...."
> > I configure it as following:
> > ./configure CFLAGS="-march=armv7-a -mfpu=neon"
> > LDFLAGS="-march=armv7-a -mfpu=neon" --build=i686-pc-linux-gnu
> > --host=arm-xilinx-eabi --with-core=cobalt
> >
> > But When I change the host cross compiles from
> > host=arm-xilinx-eabi
> > to
> > host=arm-none-linux-gnueabi
> >
> > than build is completed without errors.
> >
> > Is there anything wrong with the configuration I use with zynq ?
> > I am not sure if arm-none-linux-gnueabi can be used instead of arm-xilinx-eabi.
> > Is there anyone who used xenomai with zynq ?
>
> arm-xilinx-eabi is a compiler without glibc or uclibc. Xenomai needs
> glibc or uclibc, so can not be compiled with arm-xilinx-eabi.
> arm-none-linux-gnueabi is fine. However, you may want to find a
> toolchain for Zynq with glibc, because the Zynq has an FPU, and
> arm-none-linux-gnueabi (usually) uses soft floats, so is not an
> optimal choice for Zynq.
You probably want arm-xilinx-linux-gnueabi mentioned on this page:
http://www.wiki.xilinx.com/Install+Xilinx+Tools
--
Gilles.
https://click-hack.org
next prev parent reply other threads:[~2016-05-03 21:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-03 20:21 [Xenomai] xenomai & zynq Ran Shalit
2016-05-03 20:44 ` Gilles Chanteperdrix
2016-05-03 21:17 ` Gilles Chanteperdrix [this message]
2016-05-05 5:41 ` Ran Shalit
2016-05-05 8:25 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160503211715.GJ1761@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=ranshalit@gmail.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.