在 gcc 和 g++ 中选择消息语言 [英] Selecting message language in gcc and g++

查看:28
本文介绍了在 gcc 和 g++ 中选择消息语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Linux 上使用 gcc/g++ 并且由于我的安装是西班牙语(我的母语),gcc 在西班牙语.我宁愿用英文阅读它们,原因有两个:

I use gcc/g++ on Linux and since my install is in Spanish (my native language), gcc prints warnings and errors in Spanish. I would rather read them in English for two reasons:

  1. 用谷歌搜索英文消息要容易得多.
  2. 西班牙语翻译或多或少有点可怕.

有什么帮助吗?

推荐答案

尝试更改 LANG 环境变量:http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/Environment-Variables.html#环境变量.

Try to change the LANG environment variable: http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/Environment-Variables.html#Environment-Variables.

这篇关于在 gcc 和 g++ 中选择消息语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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