From: Charles Fee <fee@cxf111.rh.psu.edu>
Newsgroups: comp.os.linux.announce
Subject: Static Binaries Uploaded to Sunsite.
Date: 15 Apr 1993 15:16:33 GMT
Approved: linux-announce@tc.cornell.edu (Matt Welsh)
Message-ID: <1qju8h$73b@fitz.TC.Cornell.EDU>

-----BEGIN PGP SIGNED MESSAGE-----


Here are some statically linked binaries, including bash, tar,
gzip, dd, ln, mv, mount, swapon and some others. 

The binaries are stripped to make them as small as possible.

They can be found at sunsite.unc.edu.edu:/pub/Linux/Incoming/sbin.tar.z
it is a gzipped tar file. Uncompressed, the 30 or so binaries take up 
nearly 2 megabytes.

- From the quick and dirty readme:

- -------------
After some talk on comp.os.linux about the possible dangers
of not having any critical system binaries linked statically, I decided
to compile a few critical binaries on my own. I'm sure I've managed to
leave out a few important binaries beside those listed below. 

There is nothing new with these binaries other than they are 
linked statically, ie they do not require /lib/libc.so.4.* 
However, they are a lot larger.

Please note that I didn't write any of this code. 
Basically I just typed 'make'

To my knowledge, all of the source code required is available at the 
GNU copyleft. 

All of the source is freely available via FTP at sunsite.unc.edu
and likely other sites as well.

No source or real documentation is included. I assume you already have the
man pages for this stuff available. As noted before, the source is available
at sunsite.

The sources for these came from a few different archive files.

Most of the binaries came from the GNU Project, specifically in
GNU File Utilities 3.4. I downloaded the code from sunsite.unc.edu
no patches were required.

- -rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 chgrp
- -rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 chmod
- -rwxr-xr-x   1 root     wheel       70660 Apr 15 01:29 chown
- -rwxr-xr-x   1 root     wheel       74756 Apr 15 01:29 cp
- -rwxr-xr-x   1 root     wheel       70660 Apr 15 01:29 dd
- -rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 df
- -rwxr-xr-x   1 root     wheel       70660 Apr 15 01:29 du
- -rwxr-xr-x   1 root     wheel       70660 Apr 15 01:29 install
- -rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 ln
- -rwxr-xr-x   1 root     wheel       87044 Apr 15 01:29 ls
- -rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 mkdir
- -rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 mkfifo
- -rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 mknod
- -rwxr-xr-x   1 root     wheel       70660 Apr 15 01:29 mv
- -rwxr-xr-x   1 root     wheel       66564 Apr 15 01:29 rm
- -rwxr-xr-x   1 root     wheel       62468 Apr 15 01:29 rmdir
- -rwxr-xr-x   1 root     wheel       87044 Apr 15 01:29 touch

Specialized binaries also came from Sunsite: 

Bash 1.12 was compiled statically and tested with the patches on
sunsite.

The bash binary has been tested, but not extensively so. I've been using
it without problems for a while now. It works fine for me. It has all
the readline stuff compiled in too.

- -rwxr-xr-x   1 root     wheel      295940 Apr 15 01:29 bash

GNU tar 1.11.2 was compiled statically. No patches were required.

- -rwxr-xr-x   1 root     wheel      193540 Apr 15 01:29 tar

Gzip Version 1.0.6 was compiled statically. No patches were required.
The itsy-bitsy files are shell scripts. They are included for completeness
more than anything else.

- -rwxr-xr-x   4 root     wheel       78852 Apr 15 01:29 gunzip
- -rwxr-xr-x   1 root     wheel        2951 Apr 15 00:35 gzexe
- -rwxr-xr-x   4 root     wheel       78852 Apr 15 01:29 gzip
- -rwxr-xr-x   4 root     wheel       78852 Apr 15 01:29 uncompress
- -rwxr-xr-x   4 root     wheel       78852 Apr 15 01:29 zcat
- -rwxr-xr-x   1 root     wheel        1866 Apr 15 00:35 zdiff
- -rwxr-xr-x   1 root     wheel         989 Apr 15 00:35 zforce
- -rwxr-xr-x   1 root     wheel         747 Apr 15 00:35 zmore
- -rwxr-xr-x   1 root     wheel        2961 Apr 15 00:35 znew

Linux mount 0.99pl6 was compiled statically. No patches (obviously)
This is the mount command that contains NFS mount code by Rick Sladkey
and other code by H.J. Lu and Doug Quale.

- -rwxr-xr-x   1 root     wheel      103872 Apr 15 01:29 mount
- -rwxr-xr-x   2 root     wheel       61296 Apr 15 01:29 swapoff
- -rwxr-xr-x   2 root     wheel       61296 Apr 15 01:29 swapon
- -rwxr-xr-x   1 root     wheel       67848 Apr 15 01:29 umount

If there are any questions, problems, concerns or flames, please feel 
free to drop me a line.

- --chuck

- --
Chuck Fee 		If you get confused, listen to the music play
fee@cxf111.rh.psu.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.2

iQCVAgUBK8z3pVbV6cc+Bm/xAQF0FgP/Tzj+3l8cGZBKs9oHy8NJwEdmb8zeARoK
Glcm0heKS4qRKvDLlOcNSQbF7T1rlwVnbTObn9GfvIPCer5Fi9nzwABXVlZ/Yuf8
rCjTBuMOVCEodHb7WOebBzraCo7gAbjgW3eJUgTVAag2w26nxelkynN7zlNdlLYh
FufrKd+85Vk=
=a3R0
-----END PGP SIGNATURE-----

-- 
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
