A static binary patch

Mark Kettenis kettenis@wins.uva.nl
Mon Aug 23 23:37:00 GMT 1999


   Date: Mon, 23 Aug 1999 18:36:53 -0700 (PDT)
   From: hjl@varesearch.com (H.J. Lu)

   Here is a patch for glibc 2.2. It can be used to minimize the static
   binary size together with the c_stubs addon. You can use

   Mon Aug 23 17:22:53 1999  H.J. Lu  <hjl@gnu.org>

	   * Makeconfig (FILE): Define.

	   * Rules (%.out): Run $(FILE) on the binary before running it
	   and don't use the dynamic linker if it is not dynamically
	   linked.

What is the point for these changes?  And what do they have to do with
reducing the size of static binaries?  Please avoid becoming dependent
on more external tools.  Using `file' is a violation of the GNU coding
standards.

Mark


More information about the Libc-hacker mailing list