Date: Sun, 31 Dec 2000 09:57:41 -0600 From: "G. Adam Stanislav" <adam@whizkidtech.net> To: Ben Smithurst <ben@FreeBSD.org> Cc: Brett Glass <brett@lariat.org>, chat@FreeBSD.org Subject: Re: Removing GNU from kernel Message-ID: <20001231095741.A284@whizkidtech.net> In-Reply-To: <20001230212924.H37215@strontium.scientia.demon.co.uk>; from ben@FreeBSD.org on Sat, Dec 30, 2000 at 09:29:24PM %2B0000 References: <4.3.2.7.2.20001230113515.04ee97d0@localhost> <20001230122630.A247@whizkidtech.net> <4.3.2.7.2.20001230113515.04ee97d0@localhost> <20001230125703.A239@whizkidtech.net> <4.3.2.7.2.20001230131557.0476d800@localhost> <20001230212924.H37215@strontium.scientia.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 30, 2000 at 09:29:24PM +0000, Ben Smithurst wrote: >For the executables, you just need a patch like this to install(1), I >think. The ideal solution would probably be not to patch our makefiles nor install but gcc/gas so it does not write the version in the output to start with. Alas, that is easier said than done: I have been wading through gcc source code this morning, and found the variable "version_string" which contains the string, but could not find the place where it prints it to the object file. As for the other string ("01.01") that it outputs to every object file, and that even stripping .comment does not remove, I have not found it at all, it is probably created dynamically with sprintf or printf or fprintf, or something like that somewhere. If anyone is more familiar with the inner workings of gcc and knows where this extra output is generated, please speak up. It would be sort of poetic to remove that section straight out of gcc: Under the terms of GNU we can modify the source code any way we want. :) Cheers, Adam -- Apply standard disk lamer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001231095741.A284>