在哪里可以找到有关aarch64-poky-linux-ld的文档? [英] Where can I find documentation on aarch64-poky-linux-ld?

查看:117
本文介绍了在哪里可以找到有关aarch64-poky-linux-ld的文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此问题源自可以告诉我什么是"crus"表示LDFLAGS = crus $@"?

由于我的错误消息是"aarch64-poky-linux-ld:找不到Crus:没有这样的文件或目录",在哪里可以找到有关aarch64-poky-linux-ld的文档?

Since my error message is "aarch64-poky-linux-ld: cannot find crus: No such file or directory", where can I find documentation on aarch64-poky-linux-ld?

最好的问候,

接下来的问题:如何在所需的库中链接到Yocto中的新层?
如何链接librt和libpthread到Yocto中的新层?

推荐答案

我所知道的所有Linux系统都使用GNU ld 作为其链接器,它是 binutils 包的一部分,并且具有完整手册. aarch64-poky-linux-前缀是目标三元组,用于确定此特定 ld 可执行文件适用于哪个交叉编译目标.

All Linux systems I know of use GNU ld as their linker, part of the binutils package, and it has a complete manual. The aarch64-poky-linux- prefix is a target triplet, used to identify which cross-compilation target this particular ld executable is for.

但是,我想会告诉您的是,不属于选项的字符串(以--开头)将被视为输入文件.因此,该消息只是报告它正在尝试使用 crus 作为输入文件,但它不存在.这并不奇怪,因为正如您在其他问题上所指出的那样, crus 似乎是 ar 程序的选项,而不是 ld 的选项.全部.在 LDFLAGS 变量中,它们没有意义.因此,您将需要调试任何决定尝试传递这些选项"的makefile或脚本.首先是 aarch64-poky-linux-ld .

However, all I think it will tell you is that a string which is not part of an option (starting with - or --) will be treated as an input file. So the message just reports that it is trying to use crus as an input file but it doesn't exist. That's not surprising because as was pointed out on your other question, crus appears to be meant as options to the ar program, not for ld at all. They don't make sense in an LDFLAGS variable. So you will need instead to debug whatever makefile or script decided to try to pass those "options" to aarch64-poky-linux-ld in the first place.

这篇关于在哪里可以找到有关aarch64-poky-linux-ld的文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆