Author Topic: [HOWTO] Set gcc compiler output language to english  (Read 21286 times)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
[HOWTO] Set gcc compiler output language to english
« on: February 27, 2013, 09:59:08 pm »
Hello,
to set the output from the gcc compiler to english:
Settings->Enviromet->Enviroment Variables

Add
"LC_ALL" with value "C"

->Set Now -> Ok

now your output from the gcc should be english.

have fun

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: [HOWTO] Set gcc compiler output language to english
« Reply #1 on: February 27, 2013, 10:05:56 pm »
Can i add a wiki article for this?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: [HOWTO] Set gcc compiler output language to english
« Reply #2 on: February 28, 2013, 01:00:15 am »
Look at the FAQs and see if it fits better there, first.

Use the same username/password to edit the CB Wiki.

If you wish to upload images to show how; I would add a wiki page.

I am just a CB user; but, I have added FAQs Q/A and wiki pages.

But, I am not good at Wiki pages.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [HOWTO] Set gcc compiler output language to english
« Reply #4 on: March 06, 2013, 08:41:51 am »
You should be aware, that this possibly breaks displaying non-ascii characters in string literals (at least it does on my german fedora system).

I use LC_ALL=en_US.utf8 and save the files as utf-8 therefore and everything works as expected.