1 Star 0 Fork 0

zhangjiankun / xenomai_2.6.3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

要点in README.INSTALL

  1. See sections "Building for the PowerPC architecture" and "Building for the Blackfin" for an example using the CC and LD variable, or "Building for ARM" for an example using the --host argument.
  2. In order to cross-compile Xenomai user-space support, you will need to pass a --host and --build option to the configure script. The --host option allow to select the architecture for which the libraries and programs are built. The --build option allows to choose the architecture on which the compilation tools are run, i.e. the system running the configure script.

要点in knd-buildroot o_ctrl xenomai 2.6.3 config.status

  1. ../configure --target=arm-buildroot-linux-gnueabihf --host=arm-buildroot-linux-gnueabihf --build=x86_64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --program-prefix= --disable-gtk-doc --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --enable-ipv6 --enable-static --enable-shared --includedir=/usr/include/xenomai/ --disable-doc-install
  2. 输出提示部分配置无效

编译

  1. mkdir build && cd build

  2. ../configure --target=arm-linux-gnueabihf --host=arm-linux-gnueabihf --build=x86_64-unknown-linux-gnu CFLAGS="-march=armv7-a -mfpu=vfp3" CC=/home/knd/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin/arm-linux-gnueabihf-gcc AR=/home/knd/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin/arm-linux-gnueabihf-ar LD=/home/knd/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin/arm-linux-gnueabihf-ld

  3. ../configure --help 可以查看帮助

  4. --build 和 CC AR LD 选择一个即可; 由于系统默认安装了cross tool arm-xxxx, 所以这里使用了CC AR LD,避免修改PATH顺序的麻烦

    ../configure --target=arm-linux-gnueabihf --host=arm-linux-gnueabihf CFLAGS="-march=armv7-a -mfpu=vfp3" CC=/home/knd/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin/arm-linux-gnueabihf-gcc AR=/home/knd/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin/arm-linux-gnueabihf-ar LD=/home/knd/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin/arm-linux-gnueabihf-ld

  5. make

空文件

简介

download from https://gitlab.denx.de/Xenomai/xenomai/-/tags?utf8=%E2%9C%93&search=2.6.3 展开 收起
C
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/kunzj/xenomai_2.6.3.git
git@gitee.com:kunzj/xenomai_2.6.3.git
kunzj
xenomai_2.6.3
xenomai_2.6.3
master

搜索帮助