UUENCODE UUDECODE コンパイル作業実例 telnet% gzip -d uuencode-1.0.tar.gz ← GZIP圧縮されたファイルを伸長 telnet% tar xvf uuencode-1.0.tar ← TARでアーカイブされたファイルを展開 x uuencode-1.0/uuencode.c, 5328 bytes, 11 テープブロック x uuencode-1.0/uudecode.c, 6797 bytes, 14 テープブロック x uuencode-1.0/getopt.c, 20876 bytes, 41 テープブロック x uuencode-1.0/getopt1.c, 4142 bytes, 9 テープブロック x uuencode-1.0/version.c, 55 bytes, 1 テープブロック x uuencode-1.0/alloca.c, 13198 bytes, 26 テープブロック x uuencode-1.0/getopt.h, 4412 bytes, 9 テープブロック x uuencode-1.0/ChangeLog, 77 bytes, 1 テープブロック x uuencode-1.0/NEWS, 37 bytes, 1 テープブロック x uuencode-1.0/Makefile.in, 3202 bytes, 7 テープブロック x uuencode-1.0/README, 634 bytes, 2 テープブロック x uuencode-1.0/INSTALL, 5776 bytes, 12 テープブロック x uuencode-1.0/uuencode.1, 3421 bytes, 7 テープブロック x uuencode-1.0/uuencode.5, 3660 bytes, 8 テープブロック x uuencode-1.0/configure, 15298 bytes, 30 テープブロック x uuencode-1.0/configure.in, 249 bytes, 1 テープブロック x uuencode-1.0/mkinstalldirs, 616 bytes, 2 テープブロック x uuencode-1.0/testdata, 381 bytes, 1 テープブロック telnet% cd uuencode-1.0 ← ディレクトリ移動 telnet% ls -l ← 一覧して確認 -rw-r--r-- 1 rescue other 77 8月 24日 1993年 ChangeLog -rw-r--r-- 1 rescue other 5776 8月 24日 1993年 INSTALL -rw-r--r-- 1 rescue other 3202 8月 24日 1993年 Makefile.in -rw-r--r-- 1 rescue other 37 8月 24日 1993年 NEWS -rw-r--r-- 1 rescue other 634 8月 24日 1993年 README -rw-r--r-- 1 rescue other 13198 8月 24日 1993年 alloca.c -rwxr-xr-x 1 rescue other 15298 8月 24日 1993年 configure -rw-r--r-- 1 rescue other 249 8月 24日 1993年 configure.in -rw-r--r-- 1 rescue other 20876 8月 24日 1993年 getopt.c -rw-r--r-- 1 rescue other 4412 8月 24日 1993年 getopt.h -rw-r--r-- 1 rescue other 4142 8月 24日 1993年 getopt1.c -rwxr-xr-x 1 rescue other 616 8月 24日 1993年 mkinstalldirs -rw-r--r-- 1 rescue other 381 8月 24日 1993年 testdata -rw-r--r-- 1 rescue other 6797 8月 24日 1993年 uudecode.c -rw-r--r-- 1 rescue other 3421 8月 24日 1993年 uuencode.1 -rw-r--r-- 1 rescue other 3660 8月 24日 1993年 uuencode.5 -rw-r--r-- 1 rescue other 5328 8月 24日 1993年 uuencode.c -rw-r--r-- 1 rescue other 55 8月 24日 1993年 version.c telnet% ./configure ← コンパイル準備 checking for gcc checking for install checking for void checking for working const checking for working alloca.h checking for alloca creating config.status creating Makefile ← コンパイル用ファイルが作成されたのを確認 telnet% make ← コンパイル開始! gcc -c -DHAVE_ALLOCA_H=1 -g uuencode.c gcc -c -DHAVE_ALLOCA_H=1 -g getopt.c gcc -c -DHAVE_ALLOCA_H=1 -g getopt1.c gcc -c -DHAVE_ALLOCA_H=1 -g version.c gcc -g -o uuencode uuencode.o getopt.o getopt1.o version.o gcc -c -DHAVE_ALLOCA_H=1 -g uudecode.c gcc -g -o uudecode uudecode.o getopt.o getopt1.o version.o telnet% これにより、次のオブジェクト(バイナリの実行ファイル)が出来あがった. -rwxr-xr-x 1 rescue other 29896 7月 22日 22:51 uudecode -rwxr-xr-x 1 rescue other 28816 7月 22日 22:50 uuencode ※当サイトのフォームメール等では、'uuencode'を利用している.