【问题标题】:Open-WRT toolchain build machineOpenwrt 工具链构建机
【发布时间】:2017-01-31 10:14:52
【问题描述】:

当我尝试构建一个项目时,出现以下错误。

请在 Open-WRT 工具链构建机器上构建

这是什么意思?如何解决这个问题?如果答案可能很长,请提供一些链接以对此有所了解。

我是 Open-WRT 的新手。

【问题讨论】:

标签: c++ openwrt toolchain


【解决方案1】:

下载 OpenWrt Build 根目录https://wiki.openwrt.org/about/toolchain 这将有 openwrt 工具链 修改应用程序的Makefile 以使用 OpenWrt 工具链。 基本上覆盖 CCLD 字段(如果它是 C++ 应用程序,CXX 也是如此)。

CC=<path to toolchain>architecture-openwrt-linux-uclibc-gcc
LD=<path_to_toolchain>architecture-openwrt-linux-uclibc-ld

更多详情见链接:https://wiki.openwrt.org/doc/devel/crosscompile

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-01-01
    • 2012-03-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-01-26
    • 2011-07-03
    相关资源
    最近更新 更多