Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A contre courant passer gcc en anglais ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
koubiak
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 92
Location: paris

PostPosted: Fri Feb 20, 2004 12:41 am    Post subject: A contre courant passer gcc en anglais ? Reply with quote

Bonjour j'ai une gentoo en français ca me va plutot bien mais pour gcc je trouve ca insupportable et puis pour les recherches google n'en parlons pas ...

Alors ?

Merci d'avance,
Koubiiak
Back to top
View user's profile Send private message
Apolonius
Guru
Guru


Joined: 24 Jan 2003
Posts: 325

PostPosted: Fri Feb 20, 2004 2:04 am    Post subject: Reply with quote

Comme la localisation est passée par la variable d'environnement LANG, il suffit de déinitialiser cette variable pour repasser en anglais.
Concrêtement, tu ouvres un term, tu tapes unset LANG et ce term - et uniquement celui-ci - sera en anglais.
Back to top
View user's profile Send private message
TGL
Bodhisattva
Bodhisattva


Joined: 02 Jun 2002
Posts: 1978
Location: Rennes, France

PostPosted: Fri Feb 20, 2004 9:06 am    Post subject: Reply with quote

Ou tu te fais un petit wrapper, que tu appelles gcc et que tu mets à un endroit de ton path avant /usr/bin (par exemple /usr/local/bin). Un truc du genre:
Code:
#!/bin/sh
export LANG="en_US"     (par exemple)
exec /usr/bin/gcc "${@}"

(enfin, un truc du genre quoi...)
Back to top
View user's profile Send private message
koubiak
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 92
Location: paris

PostPosted: Fri Feb 20, 2004 9:20 pm    Post subject: Reply with quote

Merci Merci

A bé je prefere il cause plus comme ca le garcon !

Koubiiak qui vient de pas a une erreur du style pas trouvé " (sans rien d'ecrit) à deux pages
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum