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

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

问题描述

我觉得这个问题很愚蠢,但是在这里。我在Linux上使用gcc / g ++,并且由于我的安装是西班牙文(我的母语),所以gcc用西班牙语打印警告和错误。我宁愿用英文阅读它们,原因有两个:


  1. 英文信息比google更容易阅读。

  2. 西班牙语翻译或多或少是可怕的。

有什么帮助吗?我已经使用了Google的搜索引擎,但每个关于gcc和g ++的语言主题都是指编程语言,而不是人类语言。 解决方案

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


I feel dumb asking this, but here it goes. I use gcc/g++ on Linux and since my install is in spanish (my native language), gcc prints warnings and errors in spanish. I rather read them in english for two reasons:

  1. English messages are far easier to google.
  2. Spanish translations are more or less horrible.

Any help? I've googled for this but every "language" topic about gcc and g++ refers to programming language, not human language.

解决方案

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天全站免登陆