<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=1130351&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / [Résolu] GCC en anglais]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1130351</link>
		<description><![CDATA[Les sujets les plus récents dans [Résolu] GCC en anglais.]]></description>
		<lastBuildDate>Mon, 10 Dec 2012 18:40:19 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11820611#p11820611</link>
			<description><![CDATA[<div class="quotebox"><cite>serged a écrit&#160;:</cite><blockquote><div><div class="quotebox"><cite>Haleth a écrit&#160;:</cite><blockquote><div><p>Ben si tu le met dans /etc/bash.bashrc par exemple, il sera activé pour chaque bash</p></div></blockquote></div><p>Oui mais pas dans un script.</p><p>exemple :</p><div class="codebox"><pre><code>serge@slibovix:~/test$ alias rm
alias rm=&#039;rm -i&#039;
serge@slibovix:~/test$ rm toto
rm : supprimer fichier vide «toto» ? n
serge@slibovix:~/test$ cat essai
#!/bin/bash
rm toto

serge@slibovix:~/test$ ./essai
serge@slibovix:~/test$ </code></pre></div><p>Explication:<br /><strong>rm</strong> est un alias de <strong>rm -i</strong> (évite de faire des bêtise)<br />si je tape :<br />rm toto<br />Il y a demande de confirmation.<br />si je mets <strong>rm toto</strong> dans un script, il n&#039;y a pas demande de confirmation (l&#039;alias est oublié).<br />Si une commande gcc est dans un makefile (qu&#039;en général on n&#039;a pas écrit...) est-ce-que l&#039;alias est interprété ?</p><p>On pourrait ajouter un autre alias :</p><div class="codebox"><pre><code>alias make=&#039;export LC_MESSAGES=&quot;en_GB.UTF-8&quot; make&#039;</code></pre></div><p>ce devrait marcher...</p></div></blockquote></div><p>Ben, tu l&#039;as pas mis dans le /etc/bash.bashrc ..<br />Je te suggère de tester et de te relire <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Haleth)]]></author>
			<pubDate>Mon, 10 Dec 2012 18:40:19 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11820611#p11820611</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11819401#p11819401</link>
			<description><![CDATA[<div class="quotebox"><cite>Haleth a écrit&#160;:</cite><blockquote><div><p>Ben si tu le met dans /etc/bash.bashrc par exemple, il sera activé pour chaque bash</p></div></blockquote></div><p>Oui mais pas dans un script.</p><p>exemple :</p><div class="codebox"><pre><code>serge@slibovix:~/test$ alias rm
alias rm=&#039;rm -i&#039;
serge@slibovix:~/test$ rm toto
rm : supprimer fichier vide «toto» ? n
serge@slibovix:~/test$ cat essai
#!/bin/bash
rm toto

serge@slibovix:~/test$ ./essai
serge@slibovix:~/test$ </code></pre></div><p>Explication:<br /><strong>rm</strong> est un alias de <strong>rm -i</strong> (évite de faire des bêtise)<br />si je tape :<br />rm toto<br />Il y a demande de confirmation.<br />si je mets <strong>rm toto</strong> dans un script, il n&#039;y a pas demande de confirmation (l&#039;alias est oublié).<br />Si une commande gcc est dans un makefile (qu&#039;en général on n&#039;a pas écrit...) est-ce-que l&#039;alias est interprété ?</p><p>On pourrait ajouter un autre alias :</p><div class="codebox"><pre><code>alias make=&#039;export LC_MESSAGES=&quot;en_GB.UTF-8&quot; make&#039;</code></pre></div><p>ce devrait marcher...</p>]]></description>
			<author><![CDATA[dummy@example.com (serged)]]></author>
			<pubDate>Mon, 10 Dec 2012 17:05:07 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11819401#p11819401</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11816711#p11816711</link>
			<description><![CDATA[<p>Dans Code::Blocks, il faut aller dans &quot;Settings/Compiler and Debugger/Other settings/Advanced options&quot;, dans l&#039;onglet &quot;Command&quot; et pour &quot;Command line macro&quot;, il faut remplacer :</p><div class="codebox"><pre><code>$compiler $options $includes -c $file -o $object</code></pre></div><p>par</p><div class="codebox"><pre><code>export LC_MESSAGES=&quot;en_GB.UTF-8&quot;;$compiler $options $includes -c $file -o $object</code></pre></div><p>Ce qui m’intéresse le plus dans le fait d&#039;avoir les messages d&#039;erreur en anglais est de pouvoir googler dessus, sinon les messages en français me conviennent également.</p>]]></description>
			<author><![CDATA[dummy@example.com (alf12)]]></author>
			<pubDate>Mon, 10 Dec 2012 13:41:34 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11816711#p11816711</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11796311#p11796311</link>
			<description><![CDATA[<p>Ben si tu le met dans /etc/bash.bashrc par exemple, il sera activé pour chaque bash</p>]]></description>
			<author><![CDATA[dummy@example.com (Haleth)]]></author>
			<pubDate>Sat, 08 Dec 2012 17:10:25 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11796311#p11796311</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11796301#p11796301</link>
			<description><![CDATA[<div class="quotebox"><cite>Haleth a écrit&#160;:</cite><blockquote><div><div class="codebox"><pre><code>alias gcc=&quot;export LC_MESSAGES=&quot;en_GB.UTF-8&quot; gcc&quot;</code></pre></div></div></blockquote></div><p>Est-ce que l&#039;alias reste quand on appelle gcc depuis un makefile ?</p>]]></description>
			<author><![CDATA[dummy@example.com (serged)]]></author>
			<pubDate>Sat, 08 Dec 2012 17:09:25 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11796301#p11796301</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11795251#p11795251</link>
			<description><![CDATA[<div class="codebox"><pre><code>alias gcc=&quot;export LC_MESSAGES=&quot;en_GB.UTF-8&quot; gcc&quot;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Haleth)]]></author>
			<pubDate>Sat, 08 Dec 2012 16:07:38 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11795251#p11795251</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11794401#p11794401</link>
			<description><![CDATA[<p>Bon,</p><p>J&#039;ai modifié LC_MESSAGES dans /etc/default/locale. Donc GCC renvoie bien les messages en anglais... mais c&#039;est tout Ubuntu qui me parle en anglais et je ne suis pas aussi extrémiste.</p><p>En ligne de commande, </p><div class="codebox"><pre><code>export LC_MESSAGES=&quot;en_GB.UTF-8&quot;</code></pre></div><p> avant d&#039;utiliser GCC fonctionne</p><p>Il faut maintenant paramétrer ça dans Code::Blocks et pour l&#039;instant je n&#039;ai pas trouvé...</p>]]></description>
			<author><![CDATA[dummy@example.com (alf12)]]></author>
			<pubDate>Sat, 08 Dec 2012 15:02:39 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11794401#p11794401</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11783431#p11783431</link>
			<description><![CDATA[<p>Salut,</p><p><a href="http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/Environment-Variables.html#Environment-Variables/">http://gcc.gnu.org/onlinedocs/gcc-4.4.0 … Variables/</a></p><div class="quotebox"><blockquote><div><p>LC_ALL<br />&#160; &#160; These environment variables control the way that GCC uses localization information that allow GCC to work with different national conventions. GCC inspects the locale categories LC_CTYPE and LC_MESSAGES if it has been configured to do so. These locale categories can be set to any value supported by your installation. A typical value is `en_GB.UTF-8&#039; for English in the United Kingdom encoded in UTF-8.</p><p>&#160; &#160; The LC_CTYPE environment variable specifies character classification. GCC uses it to determine the character boundaries in a string; this is needed for some multibyte encodings that contain quote and escape characters that would otherwise be interpreted as a string end or escape.</p><p>&#160; &#160; <strong>The LC_MESSAGES environment variable specifies the language to use in diagnostic messages.</strong></p><p>&#160; &#160; If the LC_ALL environment variable is set, it overrides the value of LC_CTYPE and LC_MESSAGES; otherwise, LC_CTYPE and LC_MESSAGES default to the value of the LANG environment variable. If none of these variables are set, GCC defaults to traditional C English behavior.</p></div></blockquote></div><p>Je pense que c&#039;est ça <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Epehj)]]></author>
			<pubDate>Fri, 07 Dec 2012 15:19:01 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11783431#p11783431</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11783021#p11783021</link>
			<description><![CDATA[<p>Merci, mais ce n&#039;est pas la question</p>]]></description>
			<author><![CDATA[dummy@example.com (alf12)]]></author>
			<pubDate>Fri, 07 Dec 2012 14:33:29 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11783021#p11783021</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11782771#p11782771</link>
			<description><![CDATA[<p>Quelle idée de passer en 11.10 aujourd&#039;hui ?<br />Version bientôt obsolète. Soit on prend une version LTS (10.04 ou 12.04), soit &quot;la dernière&quot; (12.10).</p>]]></description>
			<author><![CDATA[dummy@example.com (serged)]]></author>
			<pubDate>Fri, 07 Dec 2012 14:11:21 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11782771#p11782771</guid>
		</item>
		<item>
			<title><![CDATA[[Résolu] GCC en anglais]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11782551#p11782551</link>
			<description><![CDATA[<p>Bonjour,</p><p>Je viens de passer à la version 11.10 de Ubuntu (ok, je ne suis pas rapide) et GCC est passé en français. Et je voudrais l&#039;utiliser en anglais, comment peut-on faire ?</p><p>Merci pour vos réponses</p>]]></description>
			<author><![CDATA[dummy@example.com (alf12)]]></author>
			<pubDate>Fri, 07 Dec 2012 13:51:09 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11782551#p11782551</guid>
		</item>
	</channel>
</rss>
