Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure for standalone toolchain? #22

Open
Elvisass opened this issue Dec 19, 2023 · 2 comments
Open

How to configure for standalone toolchain? #22

Elvisass opened this issue Dec 19, 2023 · 2 comments

Comments

@Elvisass
Copy link

对于系统中通过apt安装的GCC,尝试发现翻译文件确实生效了;但不是很确定GCC是通过哪些途径和配置找到这个文件的。

如果要配置在一些独立工具链里(例如自行编译的GCC、单独下载解压的GNU工具链等),需要配置哪些内容?

想给做交叉编译的二刺螈同事整个活

@Bill-Haku
Copy link
Owner

我猜应该就是gcc的二进制程序的名字。具体你可以去看看mopo文件的原理。

@Elvisass
Copy link
Author

我猜应该就是gcc的二进制程序的名字。具体你可以去看看mopo文件的原理。

po的文档有点长……暂时没翻到外部独立程序是怎么找配置的。

一个意外发现是,测试的一个交叉编译器使用了 /usr/share/locale-langpack/zh_CN/LC_MESSAGES 下的gcc.mo,但是直接替换成此仓库的文件的话,会恢复到英文文本,可能是什么不兼容?

先挂着issue,蹲一个高手(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants