[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] compiling error "xen-unstable.hg"



At 08:27 +0100 on 30 Jul (1343636877), Jan Beulich wrote:
> > We might do better to switch to '$(CC) --version | head -1', which seems
> > to provide something sensible on all the gcc and clang binaries I have
> > handy. 
> 
> The question is how relevant that string is in the first place:
> My cross compilers, for example, get invoked through a shell
> scripts that's named gccx. Invoking that with --version
> reproduces the shell script name (which the script forces as
> the argv[0] of the exec-ed "real" gcc):
> 
> gccx (GCC) 4.7.1
> 
> which isn't the case for -v:
> 
> gcc version 4.7.1 (GCC)

Sigh.  

> So as long as no deeper meaning is implied from the string by
> anyone (there's nothing in-tree that I'm aware of), I think
> that's at least as good a change as adding LC_ALL=C (of
> which I'm not really certain whether it would be fully reliable
> in all possible cases).

I'm not aware of anyone/anything that relies on that string except for
human consumption.  I'll submit a patch to change to --version. 

Cheers,

Tim.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.