Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 21:19:22 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Christian Baer <christian.baer@uni-dortmund.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Changing the output of uname -m or -p
Message-ID:  <478BC3CA.8010307@FreeBSD.org>
In-Reply-To: <fmfg0b$102j$1@nermal.rz1.convenimus.net>
References:  <fme51j$t4q$1@nermal.rz1.convenimus.net>	<478AA6DE.2080905@FreeBSD.org> <fmfg0b$102j$1@nermal.rz1.convenimus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Baer wrote:
> On Mon, 14 Jan 2008 01:03:42 +0100 Kris Kennaway wrote:
> 
>>> Can this even be done and if so how?
>> See the manpage, and the UNAME_* variables.
> 
> One other thing: Will that change the way the system reacts in any way?
> Apps should run normally (well, a browser may give a wrong plattform
> information but that should be it). But what happens if you try to compile
> something? Will a wrong plattform or CPU variable screw up what the
> compiler spits out? Could be rather unhealthy if the compiler optimizes
> code for a sun4u on an i386. :-)

It will confuse some things, yes.  e.g. buildworld and ports, and maybe 
some things at runtime.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?478BC3CA.8010307>