- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我在linux系统(Ubuntu 13.02)上安装了eCos OS。安装后,eCos 文件位于 opt/ecos
中。
当我阅读 eCos 教程时,我看到 hello.c
存储在 opt/ecos/ecos-3.0/examples/hello.c
中(我注意到也许所有主要的 eCos 系统文件都存储在 ecos-3.0 目录中)。
按照官网上的eCos教程,还是无法成功编译hello.c。
更多细节。当我尝试运行时:
$ export INSTALL_DIR=BASE_DIR/ecos-work/arm_install
$ TARGET-gcc -g -IBASE_DIR/ecos-work/install/include hello.c \
-LBASE_DIR/ecos-work/install/lib -Ttarget.ld -nostdlib
我收到错误:TARGET-gcc : command not found
我已经尝试了其他一些教程,但我仍然遇到问题(太乱了,无法在此处列出)。
我正在寻找在 eCos 系统中编译 hello.c
的分步说明。我看到 eCos 手册缺少这方面的内容。
谢谢:)
最佳答案
看来您错过了 eCos 中的一个微妙约定 documentation . 斜体中的项目由您提供!它们是变量。
文档 mentions这个在这里:
Note: Remember that when this manual shows TARGET-gcc you should use
the full name of the cross compiler, e.g. i386-elf-gcc, arm-elf-gcc,
or sh-elf-gcc. When compiling for the synthetic Linux target, use the
native gcc which must have the features required by eCos.
将 TARGET 替换为适当的值,并将 BASE_DIR 替换为(我认为,在您的情况下)/opt/ecos
。在继续之前,您应该验证包含目录:
$ ls -l /opt/ecos/ecos-work/install/include
如果那没有列出目录内容,那么您只需要locate ecos-work
Ecosconfig on Windows and Linux Quick Start文档的一部分让您创建 BASE_DIR 目录(下面是我引用的片段......斜体不会显示)。
$ mkdir BASE_DIR/ecos-work
$ cd BASE_DIR/ecos-work
因此,这可能是正确的调用。
$ export INSTALL_DIR=/opt/ecos/ecos-work/arm_install
$ arm-elf-gcc -g -I/opt/ecos/ecos-work/install/include hello.c \
-L/opt/ecos/ecos-work/install/lib -Ttarget.ld -nostdlib
关于c - eCos : Compile and Run sample application on Linux,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21918064/
这是一个边界 super 用户问题。我一直在使用 pip install 从 Windows 10 上的 powershell 将软件包添加到我的 3.6.2 安装中。我正在努力安装 CVXPY。具体
假设我有这个简单但相当嵌套的 Eco 模板: This block is fairly nested. 编译成JS结果是
我如何在 delphi .Net 中禁用 ECO? 最佳答案 将这两个注册表分支导出到一个文本文件,以便您稍后可以根据需要重新启用 ECO。 HKCU\Software\Borland\BDS\4.0
有没有办法在 ECO templates 中添加注释(单行和多行)这样它们就不会出现在渲染的输出中? 例如,Django 模板允许您在 single line 上执行此操作: {# greeting
有没有办法在 ECO templates 中添加注释(单行和多行)?这样它们就不会出现在渲染输出中? 例如,Django 模板允许您在 single line 上执行此操作: {# greeting
我正在使用实时操作系统 Ecos。我在 ubuntu 上运行此代码: #include #include #include static int tv_diff(struct timeval *
我正在尝试将 eCos 移植到 i386 PC 上。 我已经从 http://ecos.sourceware.org/ecos/boards/redbootbins/x86pc/ 我将它启动到 USB
我在我的 Rails 应用程序中使用“eco”gem 来加载 Eco templates .这些模板非常方便,并由 Rails 3.1 Assets 管道自动加载。唯一的问题是 eco 生成的每个 .
Eco 是一种嵌入式 Coffeescript 模板语言。它类似于 ERB。有什么方法可以将其用作 Rails 应用程序中的服务器端模板语言吗? 最终目标是在客户端和服务器上使用一些用 Eco 编写的
不确定在 Borland/Codegear/Embarcadero 过渡期间 Bold/Eco 发生了什么,但我肯定在新版本的 Delphi 中怀念它。有人知道有一个接近的框架吗? 如果没有,也许您可
我正在使用 cvxpy 0.4 版本,在这个版本中我编写了组套索惩罚线性模型,如下所示: from cvxpy import * from sklearn.datasets import load_b
我有简单的 Controller @Blobber.module "PlacesApp.Show", (Show, App, Backbone, Marionette, $, _) -> Show
我在linux系统(Ubuntu 13.02)上安装了eCos OS。安装后,eCos 文件位于 opt/ecos 中。 当我阅读 eCos 教程时,我看到 hello.c 存储在 opt/ecos/
我正在尝试使用 ECO templates与 Backbone和 Marionette但没有 Rails .相反,我正在使用 Django与 RequireJS管理我的前端 Assets 管道。 如何
我有一个运行 eCos 的 MIPS 目标,它使用多个线程。对于调试,我使用 gdb 7.5 和 JTAG 探针。 我如何从 GDB 检查和回溯非当前线程。我确实有基本线程地址和替代线程的程序计数器(
我们有一个在我们的嵌入式系统上运行的 OpenSSL,它正在运行 ECOS OS .我们现在正在将 OpenSSL 升级到 1.0.2 版本。我们已经成功移植并编译了OpenSSL库。但是当我们尝试使
这个问题已经有答案了: 奥 git _a (13 个回答) 已关闭 3 年前。 我正在尝试使用 pip install 在我的 anaconda 中安装 fancyimpute。但错误显示由于“需要
学习 spine.js 我毫无问题地完成了两个教程,看起来是一个很棒的框架,但是这个简单的小问题让我抓狂,因为我不知道我能做些什么来解决它...... 根据我的理解,.eco 模板(由 hem 编译)
我是一名优秀的程序员,十分优秀!