From owner-freebsd-questions Sun Jun 23 17:20:43 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA06175 for questions-outgoing; Sun, 23 Jun 1996 17:20:43 -0700 (PDT) Received: from cicerone.uunet.ca (root@cicerone.uunet.ca [142.77.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA06169 for ; Sun, 23 Jun 1996 17:20:38 -0700 (PDT) Received: from why.whine.com ([205.150.249.1]) by mail.uunet.ca with ESMTP id <115241-29844>; Sun, 23 Jun 1996 20:20:29 -0400 Received: from why (andrew@why [205.150.249.1]) by why.whine.com (8.7.5/8.6.12) with SMTP id UAA06498 for ; Sun, 23 Jun 1996 20:20:10 -0400 (EDT) Date: Sun, 23 Jun 1996 20:20:09 -0400 From: Andrew Herdman X-Sender: andrew@why To: questions@freebsd.org Subject: Creating a true static binary Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've noticed that whenever I create a static binary for people, that libc is never included (perhaps others as well?) in the binary. This started becomming a problem when I moved up to 2.2-960501-SNAP where libc changed from 2.2 to 3.0. Is there a way to have the binary include everything it needs into itself so that no libraries are necessary? Andrew