WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] insufficient fix for gcc localised output in stubdom makefil

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] insufficient fix for gcc localised output in stubdom makefile
From: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
Date: Wed, 14 Jan 2009 17:15:15 +0100
Delivery-date: Wed, 14 Jan 2009 08:15:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20081231)
Hello.

There was a slight change in stubdom makefile from 3.3 to 3.3.1, in order to use non-localised gcc output: GCC_INSTALL = $(shell LANG=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p')

However, this is still unsuffient to just set LANG:
[guillomovitch@n2 xen]$ LANG=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p'

At least on our build system, you have to export LC_ALL instead:
[guillomovitch@n2 xen]$ LC_ALL=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p'
/usr/lib/gcc/i586-manbo-linux-gnu/4.3.2/
--
Guillaume Rousse
Service des Moyens Informatiques
INRIA Saclay - Ile de France
Tel: 01 69 35 69 62

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel