Date: Mon, 24 Jun 1996 01:19:27 GMT From: James Raynard <fqueries@jraynard.demon.co.uk> To: andrew@why.whine.com Cc: questions@FreeBSD.ORG Subject: Re: Creating a true static binary Message-ID: <199606240119.BAA04520@jraynard.demon.co.uk> In-Reply-To: <Pine.BSF.3.91.960623201825.6315A-100000@why> (message from Andrew Herdman on Sun, 23 Jun 1996 20:20:09 -0400)
next in thread | previous in thread | raw e-mail | index | archive | help
> 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? How are you creating the binary? 'gcc -static' worked for me on 2.1.0. -- James Raynard, Edinburgh, Scotland james@jraynard.demon.co.uk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606240119.BAA04520>