$B

=====================================================================
               Linux GCC FAQ 1994/02/01 $BHG(B

             Mitchum DSouza, <[email protected]> $BCx(B

$BF|K\8lLu(B $BGkHx!!>!L&!J#V#I#C!K(B (NIFTY-Serve GAA00714)
                              <[email protected]>

                 $BF|K\8lLuF|IU(B 1995/02/11

=====================================================================

-------------------- Linux GCC FAQ 1994/02/01 $BHG(B -----------------------------
0) $B$3$N(B FAQ $B$N:G?7%P!<%8%g%s$O$I$3$G$N:G?7HG$NG[IU$O$I$3$K$"$j$^$9$+!)(B
3) libc.so,libw.so $B$N6&M-%i%$%V%i%j$N:G?7HG$O$I$3$G8+$D$1$k$3$H$,$G$-$^$9$+!)(B
4) Linux $B$GB>$K$O$I$N$h$&$J6&M-%i%$%V%i%j$,;H$($^$9$+!)(B
5) Linux $BMQ$N6&M-(B DLL $B%i%$%V%i%j$r:n$k$K$O$I$&$9$l$P$h$$$N$G$9$+!)(B
6) $B40`z$J%P%$%J%j$re$K(B Linux $B$N%3!<%I$r$O$-$@$9%/%m%9%3%s%Q%$%i$r:n$k$K$O$I(B
   $B$&$9$l$P$h$$$N$G$7$g$&$+!)(B
8) $B$I$N$h$&$J%7%s%\%k$,(B Linux $B$N(B GCC $B$K$h$C$F<+F0E*$KDj5A$5$l$^$9$+!)(B
9) $B%3%s%Q%$%k;~$K(B $B!J(Bsigvec$B$H$$$C$?FCJL$J%7%0%J%k$J$I$N!K(B BSD $B$N;EMM$r$J$/$9$K$O(B
  $B$I$&$9$l$P$$$$$G$9$+!)(B
10) SIGBUS, SIGEMT, SIGIOT, SIGTRAP, SIGSYS $B$J$I$O$I$3$K$"$j$^$9$+!)(B
11) libhard $B$H(B libsoft $B$H$O2?$G$9$+!)(B
12) $B%a%C%;!<%8(B "can't load library: /lib/libxxx.so, Incompatible version" $B$N0U(B
  $BL#$O2?$G$9$+!)(B
13) $B$o$?$7$N%i%$%V%i%j$,$H$F$bBg$-$$$N$O$J$<$G$9$+!)$^$?!"$I$&$9$l$P>.$5$/$J$j(B
  $B$^$9$+!)(B
14) -N $B%U%i%0$r;H$&$H2?$,5/$3$j$^$9$+!)$^$?!"$I$&;H$($P$$$$$N$G$9$+!)(B
15) $B%W%m%0%i%`$N%G%P%C%-%s%0>pJs$O$I$&$9$l$Pl9g$K!"$=$l$r(B
  $BD4$Y$kJ}K!$O$"$j$^$9$+!)(B
20) Linux $B$O(B LD_LIBRARY_PATH $B$r%5%]!<%H$7$F$$$^$9$+!)(B
21) $B;d$N%W%m%0%i%`$G$O(B /lib/cpp $B$,I,MW$G$9!#$I$3$+$i$N(B GCC, C, C++, g++, Objective-C $B$N(B FAQ $B$OB?J,(B

                rtfm.mit.edu:pub/usenet/news.answers
    $B$K$"$k$G$7$g$&!#(B

-------------------------------------------------------------------------------

1) $B;d$,;H$C$F$$$k(B GCC $B$N%P!<%8%g%s$rCN$k$K$O$I$&$9$l$P$$$$$G$9$+!)(B

$B2sEz(B: $B0J2<$N%3%^%s%I$rO$r!K=q$$$F(B
      $B$$$k;~E@$G;d$N%^%7%s$G>e5-$N%3%^%s%I$re$N%P!<%8%g%s$K%"%C%W%0%l!<%I$9$k;v$r$*4+$a$7$^(B
      $B$9!#(B

      P.S $B$b$7!"0J2<$N=PNO7k2L$rF@$?$J$i!"(B
        Reading specs from /usr/lib/gcc-lib/i486-linux/2.5.7/specs
        gcc version 2.5.7
      486 $BMQ$K%3%s%Q%$%k$5$l$?(B gcc $B$rAv$i$;$k$3$H$,$G$-$^$9!#(B

-------------------------------------------------------------------------------

2) GCC,as,ld,ar, $B$=$NB>$N:G?7HG$NG[IU$O$I$3$K$"$j$^$9$+!)(B

$B2sEz(B: GCC $BG[IU$N8x<0$N>l=j$O!"(Btsx-11.mit.edu $B$N(B /pub/linux/packages/GCC $B$G$9!#(B
    $BB>$N%_%i!<%5%$%H$G$bF1MM$G$9!#$9$Y$F$N(B GCC $B$N8=J*$N:G?7%P!<%8%g%s$O!"(B
    $B$3$3$G8+$D$1$i$l$^$9!#(B

    $B!J$3$NJ8>O$r!K=q$$$F$$$k;~E@$N:G?7$N(B GCC $B$O!"%P!<%8%g%s(B 2.5.7 $B$G$"$j!"0J2<(B
    $B$N>l=j$GO$r!K=q$$$F$$$k;~E@$N:G?7$N%$%s%/%k!<%I(B
    $B!J%U%!%$%k!K$O!"0J2<$+$iF~e$N(B (2) $B$r8+$F$/$@$5$$!#(Bimage*/tar.z $B%U%!%$%k$,I,MW$G$9!#(B486 $B$?$a$N%$%a(B
      $B!<%8$O!"(B/pub/linux/packages/GCC/486 $B$G8+$D$1$i$l$^$9!#(B

-------------------------------------------------------------------------------

4) Linux $B$GB>$K$O$I$N$h$&$J6&M-%i%$%V%i%j$,;H$($^$9$+!)(B

$B2sEz(B: Ok!$B$3$3$K!";d$,%3%s%Q%$%k$7$?%j%9%H$,$"$j$^$9!#B?>/$NDI2C!?JQ99$O(B
    $BBgL\$K$_$F$/$@$5$$!#(B

    $B0J2<$K=R$Y$k%U%!%$%k$O!"3F%i%$%V%i%j$,:G6aF~$C$F$$$k!J$^$?$OF~$C$F$$$k$H(B
    $BJs9p$5$l$?!K%U%!%$%k$G$9!#(B

    P.S. $B0J2<$N%i%$%V%i%j$r$h$j3NH$7$^$9!#(B
    $B$3$l$i$,$I$3$GH$7$F$/$@$5$$!#(B

$B$3$l$,!"(BLinux $BMQ$N(B DLL $B%i%$%V%i%j$,EPO?$5$l$F$$$k0lHLE*$J%U%!%$%k0lMw$G$9!#(B
======================================================================

libc.so     tsx-11.mit.edu:/pub/linux/packages/GCC/image-4.5.8.tar.gz
libm.so         $B>e5-$N(B tar.gz $B%U%!%$%k$K4^$^$l$F$$$^$9!#(B

libX11.so   tsx-11.mit.edu:pub/linux/packages/X11/XFree86-2.0/xf86-lib-2.0
.tar.gz
libXt.so        $B>e5-$N(B tar.gz $B%U%!%$%k$K4^$^$l$F$$$^$9!#(B
libXaw.so       $B>e5-$N(B tar.gz $B%U%!%$%k$K4^$^$l$F$$$^$9!#(B

librl.so    sunsite.unc.edu:/pub/Linux/libs/librl-1.1.tar.z
libgr.so    sunsite.unc.edu:/pub/Linux/libs/libgr-1.2.tar.z
libf2c.so   sunsite.unc.edu:/pub/Linux/development/fortran/libf2c-0.9.tar.z
libF77.so       $B>e5-$N(B libf2c.so $B$rBe$o$j$K;H$C$F$/$@$5$$!#(B
libI77.so       $B>e5-$N(B libf2c.so $B$rBe$o$j$K;H$C$F$/$@$5$$!#(B

libXpm.so   sunsite.unc.edu:/pub/Linux/libs/libXpm32g.tar.z

libnsl.so   ftp.lysator.liu.se:/pub/NYS/nys-0.xx.tar.gz

libolgx.so  sunsite.unc.edu:/pub/Linux/libs/xview3L5.tar.gz
libxview.so     $B>e5-$N(B tar.gz $B%U%!%$%k$K4^$^$l$F$$$^$9!#(B
libsspkg.so     $B>e5-$N(B tar.gz $B%U%!%$%k$K4^$^$l$F$$$^$9!#(B
libUIT.so       $B>e5-$N(B tar.gz $B%U%!%$%k$K4^$^$l$F$$$^$9!#(B

libPEX.so   tsx-11.mit.edu:pub/linux/packages/X11/XFree86-1.3/xf86-pex-2.0
.tar.gz

libtcl.so   sunsite.unc.edu:/pub/Linux/development/tcl/*
libtk.so        tcl/tk $B$N$J$+$N$$$m$$$m$J(B tar.gz $B%U%!%$%k$K4^$^$l$F$$(B
$B!!!!!!!!!!!!!!!!$^$9!#(B

libWc.so            $BITL@$G$9!#(B
libXp.so            $BITL@$G$9!#(B

libIV.so    nic.funet.fi:/pub/OS/Linux/images/Slackware/iv1/iv*.tgz
libUnidraw.so   $B>e5-$N(B .tgz $B%U%!%$%k$K4^$^$l$F$$$^$9!#(B

libXm.so    Motif $B%i%$%V%i%j$O%U%j!<%=%U%H$G$O$"$j$^$;$s!#2<5-$N%N!<%H$r;2>H(B
            $B$7$F$/$@$5$$!#(B

libsrgp.so  sunsite.unc.edu:/pub/Linux/X11/devel/suit.tpz
libsuit.so      $B>e5-$N(B tpz $B%U%!%$%k$K4^$^$l$F$$$^$9!#!JG[I[$7$F$$$J$$$HJs9p(B
$B!!!!!!!!!!!!!!!!$5$l$F$$$^$9!K(B

libOI.so    tsx-11.mit.edu:/pub/linux/packages/OI/oi40.tar
libOIrg.so       $B>e5-$N(B tar $B%U%!%$%k$K4^$^$l$F$$$^$9!#(B

libld.so    tsx-11.mit.edu:/pub/linux/packages/GCC/ldso-1.4.tar.z
                 $B!J(Blibc 4.4.4 $B0J>e$,I,MW$G$9!K(B

libarma.so  ftp.atnf.csiro.au:/pub/karma
libkarmaX11.so      $B>e5-$N(B site $B$r8+$F$/$@$5$$!#(B
libkarmaXt.so       $B>e5-$N(B site $B$r8+$F$/$@$5$$!#(B
libkarmagraphics.so $B>e5-$N(B site $B$r8+$F$/$@$5$$!#(B
libkarmawidgets.so  $B>e5-$N(B site $B$r8+$F$/$@$5$$!#(B
libkarmaxview.so    $B>e5-$N(B site $B$r8+$F$/$@$5$$!#(B

libwxwin.so     sunsite.unc.edu:/pub/Linux/X11/devel/wxWin_linux.tgz

libandrew.so    sunsite.unc.edu:/pub/Linux/X11/andrew/andrew.apps.tar.gz

libUil.so       $B>&6H%i%$%V%i%j$G$9!#(B

libBLT.so       sunsite.unc.edu:/pub/Linux/devel/tcl/blt1.0-bin.tar.z

libvga.so       sunsite.unc.edu:/pub/Linux/libs/svgalib097.tgz

libitcl.so      sunsite.unc.edu:/pub/Linux/devel/tcl/itcl1.3-bin.tar.z

------------
$B%N!<%H(B 1:-

3D $B8z2L!J(BlibXaw3d-0.6$B!K$rF@$k(B Xaw $B$N(B DLL $B%i%$%V%i%j$N0lIt$H(B Xaw $B%/%i%$%"%s%H>e(B
$B$N(B Mac(TM) $B%i%$%/$N%9%/%m!<%k%P!<$O!"$*$N$*$N0J2<$GF~\$7$/$O0J2<$N0zMQ$rFI$s$G$/$@$5$$!#(B

------

Metro Link $Be(B ($B8=:_$N(B 0.99pl12 $B$G(B OK)
    XFree86 1.2 $B0J>e(B (1.3 $B$G(B OK)
    libc 4.3.3 $B0J>e(B (libc 4.4 $B$G(B OK)

$B2?$r4^$s$G$$$k$+(B:

$B%i%s%?%$%`(B:
    1) Motif $B%&%#%s%I%&%^%M!<%8%c(B (mwm)
    2) $B6&M-(B motif $B%i%$%V%i%j(B (libXm.so.1.2.2)
    3) OSF $B$H(B net $B$+$i$N(B Motif $B$N%G%b(B

$B3+H/%D!<%k(B:
    1) $B6&M-(B + $B@EE*(B Motif $B%i%$%V%i%j(B
    2) $B@EE*(B Mrm $B$H(B Uil $B%i%$%V%i%j(B
    3) UIL $B%3%s%Q%$%i(B
    4) Motif $B%X%C%@%i%$%V%i%j(B
    5) Motif $B%U%!%s%/%7%g%s%3!<%k$N%^%K%e%"%k(B
    6) Imakefile $B%5%]!<%H(B
    7) OSF/Motif $B$N%G%b$N%=!<%9(B

$B$=$7$F!"(BO'Reilly & Associates, Inc $B$K$h$j=PHG$5$l$F$$$k(B X-window books $B$+$i(B
$B$"$J$?$,A*$s$@0l:}!#(B

Linux $BMQ(B OSF/Motif 1.2.2 $B$O!"(BMetro Link $Be$K(B Linux $B$N%3!<%I$r$O$-$@$9%/%m%9%3%s%Q%$%i$r:n$k$K$O$I(B
   $B$&$9$l$P$h$$$N$G$7$g$&$+!)(B

$B2sEz(B: gcc $B$N%=!<%9%3!<%I$r;}$C$F$$$k$H2>Dj$7$^$9!#$$$D$b$O!"(BGCC $B$N(B INSTALL $B%U%!(B
    $B%$%k$N>pJs$GM}2r$G$-$^$9!#(B
    $B%W%i%C%H%[!<%`(B XXX $B$G(B `configure --target=i386-linux-linux --host=XXX' 
    $B$H$9$k$3$H$K$h$C$F(B `make' $B$r$4$^$+$7!"=hM}$rB3$1$^$9!#(B
    Linux $B$N%$%s%/%k!<%I%U%!%$%k$d%+!<%M%k$N%$%s%/%k!<%I%U%!%$%k$d(B
    tsx-11.mit.edu $B$K$"$k(B /pub/linux/packages/GCC/src $B$N%=!<%9$+$i%/%m%9%3%s%Q(B
    $B%$%i$d%/%m%9%j%s%+$r:n$k$3$H$,I,MW$J$3$H$K5$$E$/$G$7$g$&!#(B

    linux $B%^%7%s$N%3!<%I$r:n$k$?$a$N(B Sparc (Sun) $BMQ$N%/%m%9%3%s%Q%$%i$N:[email protected](B
    $B$,$"$j$^$9!#4JC1$JJ}K!$G$9!#$9$G$K;H$C$F$$$k(B linux $B%^%7%s$r;H$C$F$$$k(B HLU
    $B$K$h$C$F%3%s%Q%$%k$5$l$?(Blinux $B%i%$%V%i%j$r;HMQ$9$k4JC1$JJ}K!$G$9!#(B
    $B;d$N!X6/NO$J!Y%"%I%P%$%9$O!"$$$/$D$+$N%3%s%Q%$%k$G;HMQ$9$k(B GNU $B$N(B make 
    (gmake) $B$re$NI8=`%$%s%9%H!<%k%Q%9$H$7$F(B /usr/local/bin $B$KF0$/(B gcc
       $B%P!<%8%g%s(B 2.4.5 $B$,$"$k$H2>Dj$7$^$9!#$9$J$o$A!"%3%s%Q%$%i$O(B
       /usr/local/lib/gcc-lib $B$K$"$j$^$9!#(B

       $B:G=i$O!"(B $B0J2<$N$h$&$K(B linux $BFCM-$N%G%#%l%/%H%j$r:n$j$^$9!#(B
       $B!JCf4V%G%#%l%/%H%j$b:n$kI,MW$,$"$k$+$b$7$l$^$;$s!K(B

        % mkdir -p /usr/local/lib/gcc-lib/i386-linux-linux/bin
        % mkdir -p /usr/local/lib/gcc-lib/i386-linux-linux/2.4.5/include
        % mkdir    /usr/local/lib/gcc-lib/i386-linux-linux/include

    7.2) $B4D6-JQ?t$r@_Dj$9$k;v$K$h$j!"D9$$%Q%9L>$rBG$A9~$^$J$/$F$h$/$J$j$^$9!#(B
       .login $B$d(B .cshrc $B%U%!%$%k$K%;%C%H$7$F$/$@$5$$!#F1MM$K(B DLL $B$J$I$N%/%m%9%3(B
       $B%s%Q%$%k$N$?$a$K(B l-ar, l-ranlib $B$r;H$&I,MW$,$"$k$G$7$g$&!#(B
       $B$5$7$"$?$j!"0J2<$N$3$H$r9T$C$F$/$@$5$$!#(B

       csh $B$N>l9g(B:
           % setenv LBINS /usr/local/lib/gcc-lib/i386-linux-linux/bin/
       sh $B$N>l9g(B:
           % LBINS=/usr/local/lib/gcc-lib/i386-linux-linux/bin/
           % export LBINS

       linux, asm, gnu, sys $B$d$=$NB>$N%5%V%G%#%l%/%H%j$NFbMF$H$7$F!X$9$Y$F$N!Y(B 
       linux $BFCM-$N%X%C%@%U%!%$%k$rF~$l$F$/$@$5$$!#(B${LBINS}../include $BG[2<$r(B
       $B!X3NG'!Y$7$F$/$@$5$$!#%X%C%@%U%!%$%k$N:_$j=h$O$l$K$D$$$F?7$7$$%+!<%M%k$r%j%j!<%9$7$J$1$l$P$J$j$^$;(B
       $B$s!#(B

       $B;d$N(B linux $B%^%7%s$+$i!"(Bsun $B$XE>Aw$NOC$r$7$^$7$g$&!#(B

        % rcp -r linux_machine:/usr/include ${LBINS}../

       $B0lJ}!"%$%s%/%k!<%I%U%!%$%k$H%+!<%M%k$N%=!<%9$rl9g$O(B "sun4"$B!K$NE,Ev$J%V%m%C%/$,JB$S$^$9!#(B

            HOST_ROOT=${LBINS}..

        0.99pl12 ($B$?$V$s$=$l0J>e$N%l%Y%k$G$b(B) $B$N$?$a$K(Ba.out.h $B$H(B page.h $B$r%G%#(B
        $B%l%/%H%j$K%3%T!<$7!"(BMISCFLAGS $B$NCf$K4^$^$J$1$l$P$J$i$J$$$G$7$g$&!#(B
        $B$=$7$F!"%+%l%s%H%P%$%J%j%f!<%F%#%j%F%#$N%G%#%l%/%H%j$G0J2<$N$3$H$re!K$N;~(B *******

        $B%"%;%s%V%i%G%#%l%/%H%j$G0J2<$N$3$H$re$N(B GCC $B%=!<%9%G%#%l%/%H%j$KE83+$9$k$K$O0J2<$N$3$H(B
       $B$r9T$C$F$/$@$5$$!#(B

        % ./configure --host=sun4 --target=i386-linux-linux
        % make  CC=/usr/local/bin/gcc CFLAGS="-O2 -s" \
                tooldir=${LBINS}.. LANGUAGES="c c++ objc"

      libgcc.a $B%i%$%V%i%j$r:n@.;~$K%(%i!<$G=*N;$9$k$+$b$7$l$^$;$s$,!"L5;k$7$F$/(B
      $B$@$5$$!#K>$_$OBh0l$K%/%m%9%3%s%Q%$%i$N%P%$%J%j$G$9$+$i!#(B

    7.5) $B0J>e$N:n6H$,=*N;8e!"E,@Z$J>l=j$K%3%T!<$7$^$9!#(B

        % cp cc1 cc1plus cpp ${LBINS}../2.4.5

      $BA0CV$-$H$7$F%3%s%Q%$%i$r(B bin $B%G%#%l%/%H%j$K%3%T!<$7!"4JC1$K$I$3$+!J$?$H$((B
      $B$P(B ~/bin$B!K$K%j%s%/$7$^$9!#(B

        % cp xgcc ${LBINS}gcc
        % ln -s ${LBINS}gcc ${HOME}/bin/gcc-linux


      7.6) $B$"$J$?$N(B linux $B%^%7%s$+$i%i%$%V%i%j$rDj$7$^$9!#!K(B

        % make CC="gcc-linux -O6 -s" RANLIB=l-ranlib AR="l-ar"

      7.8) $B$b$7!"6&M-(B DLL $B$G%/%m%9%3%s%Q%$%k$r$7$?$$$J$i$P!"0J2<$N$b$N$r$&!Y$3$H$r3P$($F$*(B
    $B$/$Y$-$G$9!#$3$l$i$r(B SIGUNUSED $B$G(B #define $B$9$kBe$o$j$K!"?7$7$$%W%m%0%i%`$O(B
    $B0J2<$N$h$&$K$9$Y$-$G$9!#(B

    #ifdef SIGSYS
    ....[non-posix sigsys code here]....
    #endif

    SIGSYS$B!J(BSIGBUS $B$bF1MM$K!K$N;HMQ$,I,MW$J%3!<%I$H$J$j$^$9!#(B

    ISO/IEC 9945-1:1990 (IEEE Std 1003.1-1990) $B$N(B B.3.3.1.1 $B$+$i$NH4?h$G$9!#(B

    $B!V(BSIGBUS, SIGEMT, SIGIOT, SIGTRAP $B$H(B SIGSYS $B$O!"(BPOSIX.1 $B$+$i30$5$l$^$7$?!#(B
    $B$J$<$J$i!"$=$l$i$NF0$-$OZL@$7!"Ds6!$K4X$7$F$N@)8B$r5-=R$7(B
    $B$J$1$l$P$J$j$^$;$s!#(B

-------------------------------------------------------------------------------

11) libhard $B$H(B libsoft $B$H$O2?$G$9$+!)(B

$B2sEz(B: $B$=$l$i$O!"?tCM%(%_%e%l!<%7%g%s%k!<%A%s$N%i%$%V%i%j$G$9!#$b$7!JNc$($P(B 387 
    $B$N$h$&$J!K?tCM1i;;$r9T$&%O!<%I%&%'%"$r;}$C$F$$$k$J$i(B hard $B$r!"$=$N$h$&$J%O(B
    $B!<%I$,$J$$$J$i?tCM1i;;$N%(%_%e%l!<%7%g%s$r9T$&(B soft $B$rA*Br$7$^$9!#(B

    $B$b$7!"8=:_G[I[$7$F$$$k(B Linux $B$r;HMQ$7$F$$$k$J$i$P!"$3$l$i$N%i%$%V%i%j$OI,MW(B
    $B!X$"$j$^$;$s!Y!#?tCM1i;;%(%_%e%l!<%7%g%s$O%+!<%M%k%l%Y%k$G%5%]!<%H$7$F$$$^(B
    $B$9!#!J$9$J$o$A!"$b$7!";H$$$?$$$J$i!"(B`make config' $B$K$h$j%+!<%M%k$,:n$i$l$?(B
    $B;~$+$i;H$($^$9!#!K(B
    $B$$$$$+$($k$H(B 387 $B$O;E;v$r$9$k$3$H$,$G$-$^$9!#$b$7!"(B/libm.so.4.x.y $B$+$i(B 
    /lib/libm.so.4 $B$r%j%s%/$7$F$$$k$J$i!"0BA4$K>C$9$3$H$,$G$-$k$+$b$7$l$^$;$s!#(B

-------------------------------------------------------------------------------

12) $B%a%C%;!<%8(B "can't load library: /lib/libxxx.so, Incompatible version" $B$N0U(B
  $BL#$O2?$G$9$+!)(B

$B2sEz(B: $B6&M-%i%$%V%i%j$,H/E8$7$F$$$/$H!"%W%m%0%i%`l9g$J$I$,$=$&$G$9!#(B

       $B%i%$%V%i%j$N8F$SL>(B - libc.so.4.3.3
                               T    T T T
                              /    /  |  \
                             /    /   |   \
                            /    /    |    \
                 $B%i%$%V%i%jL>(B   /     |     \
                               /      |      \
          $B%a%8%c!<%P!<%8%g%s%J%s%P!<(B  |      $B%Q%C%A%l%Y%k(B
                                      |
                            $B%^%$%J!<%P!<%8%g%s%J%s%P!<(B

    $B%a%8%c!<%P!<%8%g%s%J%s%P!<$N0c$$$O!"%W%m%0%i%`$r%j%s%/$7$?%i%$%V%i%j$HF0:n(B
  $B$9$k(B    $B%+%l%s%H%i%$%V%i%j$N%a%8%c!<%P!<%8%g%s$H$,Ey$7$$>l9g$K$N$_%W%m%0%i%`(B
  $B$NZ$5$l$k$3$H$G$9!#(B
    $B$3$l$O!"(Blibc.so.4.3.3 $B$G%3%s%Q%$%k$5$l$?%W%m%0%i%`$O!"(Blibc.so.5.1.2 $B$H$$$C(B
  $B$?$h$j:G?7$N(B DLL $B%i%$%V%i%j>e$G$O.$5$$%i%$%V%i(B
    $B%j$r;HMQ$7$h$&$H$9$k$H!"%J%s%P!.$5$J%P%0%U%#%C%/%9$G;HMQ$5$l$^(B
    $B$9!#(B

    $BLdBj$KLa$k$H!"$"$J$?$,%P%$%J%j$Nu67$r2~A1$9$k$K$O!".$5$/$J$j(B
  $B$^$9$+!)(B

$B2sEz(B: $B$h$j>.$5$$%i%$%V%i%j$,M_$7$$$J$i!"$9$Y$-$3$H$O$?$/$5$s$"$j$^$9!#(B

    * $B%3!<%I$N:GE,2=(B - $B%3%s%Q%$%k;~$K(B -O2 $B%U%i%0$r;H$$$^$9!#(B
    * $B9g@.%P%$%J%j$N%9%H%j%C%W2=(B - ld $B$NItJ,$G(B -s $B%U%i%0$r;H$$$^$9!#(B
    * $B9g@.%P%$%J%j$N:n@.(B - ld $B$NItJ,$G(B -N $B%U%i%0$r;H$$$^$9!#(B

    $B$3$l$i$rAH$_9g$o$;$F;H$$$^$9!#$b$7!"%P%$%J%j$r%9%H%j%C%W2=$7$?$$$J$i!"\$7$$>pJs$r8+$F$/$@$5$$!#(B

    `ld' $B%j%s%+$O%G%U%)%k%H$G%W%m%0%i%`$r6&M-%i%$%V%i%j$K%j%s%/$7$^$9!#$7$+$7(B
    $B$J$,$i!"4XO"$N$"$k0lIt$r8+$D$1$k$3$H$,$G$-$J$$!J$9$J$o$A(B .sa $B%U%!%$%k!K!"(B
    $B!X$^$?$O!Y%f!<%6$K$H$C$FIT2D;k%U%!%$%k$G$"$C$?>l9g$O!J$9$J$o$A(B .a $B%U%!%$%k(B
    $B$H$7$F!K@EE*%j%s%/$r;n$_$h$&$H$7$^$9!#$"$J$?$N%P%$%J%j$,BgJQBg$-$$M}M3$O$3(B
    $B$l$+$b$7$l$^$;$s!#%5!<%A%Q%9$O(B /usr/lib $B$d(B /lib $B$d(B / $B$N%i%$%V%i%j$+$i(B .sa 
    $B$d(B .a $B$rC5$7$^$9!#$3$N$3$H$O!"(Bstub $B$H(B DLL $B6&M-%i%$%V%i%j$r$3$l$i$N%G%#%l%/(B
    $B%H%jCf$KE@:_$5$;$k$3$H$K$J$k$+$b$7$l$^$;$s!#$h$j=@FpE*$K9T$&$K$O(B (20) $B$r8+(B
    $B$F$/$@$5$$!#(B

    $B$?$/$5$s$N(B FSF $B$N:n$s$G$$$k$N$rCN$C$F$$$^$9!#(B
    $B7k2L$H$7$F!"%9%?%F%#%C%/$K%j%s%/$5$l$?%W%m%0%i%`$N$J$+$K$OG|Bg$J%G%P%C%0%7(B
    $B%s%\%k$,;D$C$F$$$^$9!#$b$7$"$J$?$,%=%U%H$r%3%s%Q%$%k$7!"$=$NF0$-$KK~B-$7$F(B
    $B$$$k$J$i$P!"(B-g $B$r(B CFLAGS $B$+$D!?$^$?$O(B LDFLAGS $B$+$i:o=|$9$k$?$a$K!"Cm0U?<$/(B
    Makefile $B$r%A%'%C%/$7$F$/$@$5$$!#(B

-------------------------------------------------------------------------------

14) -N $B%U%i%0$r;H$&$H2?$,5/$3$j$^$9$+!)$^$?!"$I$&;H$($P$$$$$N$G$9$+!)(B

$B2sEz(B: $B2>A[5-21$K$h$k%9%o%C%W$,2DG=$K$J$j$^$9!#(B-N $B%*%W%7%g%s$r;H$&$H!"%Z!<%86-3&(B
    $B$$$C$Q$$$K5M$a9~$^$l$?8D!9$N%;%0%a%s%HNN0h$r;}$A!"$=$l$i$,O"B3$7$J$$@\$K:F%m!<%I$G$-$k$+$i$G$9!#(B
    $BB>J}!"%9%o%C%W%Q!<%F%#%7%g%s$d%9%o%C%W%U%!%$%k$K$h$kJ*M}E*$J%9%o%C%W5!G=$b(B
    $B;}$C$F$$$^$9!#$=$l$K$O!"B?>/$N;~4V$H%G%#%9%/%9%Z!<%9$,I,MW$G$9!#(B

    $B%9%o%C%W$O!"DL>o$O>.$5$J%W%m%0%i%`$K$O4X78$"$j$^$;$s!#(B-N $B$r;H$C$F%3%s%Q%$%k(B
    $B$5$l$F$$$?$H$7$F$b$G$9!#Bg$-$J%W%m%0%i%`!JNc$($P!"(Bgcc $B$^$?$O(B emacs$B!K!"$^$?(B
    $B$OJ#?t$NCJ3,$r;}$C$F$$$k$h$&$J%W%m%0%i%`!J(Bshell $B$d(B xterm $B$N$h$&$J$b$N!K$O!"(B
    -N $B$J$7$G%3%s%Q%$%k$9$Y$-$G$9!#$=$N7k2L!"%3!<%I%Z!<%8$O$-$l$$$K3d$jEv$F$i$l(B
    $B$^$9!#$b$7!"%a%b%jITB-$G!J%W%m%0%i%`$r!KAv$i$;$?$J$i$P!"%+!<%M%k$O2>A[5-21(B
    $B$GF0$$$F$$$k;H$o$l$F$$$J$$%3!<%I%Z!<%8!J$"$H$G:F%m!<%I$G$-$k!K$r:o=|$7$O$8(B
    $B$a$^$9!#O"B3$7$J$$e$K$H$I$^$i$J$$$b$N$G$9!#Nc$($P!"(Bhostname, 
    fsck, mkfs, w $B$J$I$G$9!#(Bdaemon $B$G$O!"$3$N(B -N $B%U%i%0$r7h$7$F;HMQ$7!X$J$$!Y(B
    $B$G2<$5$$!#%a%b%j>e$K>oCs$9$k$3$H$O0UL#$,$J$$$+$i$G$9!#(B

-------------------------------------------------------------------------------

15) $B%W%m%0%i%`$N%G%P%C%-%s%0>pJs$O$I$&$9$l$PpJs$,F@$i$l$k$+$b$7$l$^$;$s!#(B
    $B%U%k5!G=$N(B libg.a (~2Mb) $B$r;HMQ$7$J$1$l$P!"%G%P%C%0$G$-$J$$%i%$%V%i%j%3!<(B
    $B%k$b$"$k$G$7$g$&!#(B

    $B$b$7!"@-G=$N%G%P%C%0$r$7$?$$$N$J$i$P!"%P%$%J%j$r%9%H%j%C%W2=$7$F$$!X$J$$!Y(B
    $B$3$H$r3NG'$7$F$/$@$5$$!#(B

-------------------------------------------------------------------------------

16) $B$I$N%G%P%C%,$,(B Linux $B$G;H$($^$9$+!)(B

$B2sEz(B: $B$(!A$b$A$m$s!"0lHV$$$$%G%P%C%,$O(B `gdb' $B$G$9!#$*5$$KF~$j$N%5%$%H$GC5$7$F$/(B
    $B$@$5$$!#Nc$($P!"(B
        prep.ai.mit.edu:/pub/gnu/gdb-4.11.tar.gz
     $B$K$"$j$^$9!#(B

    Linux $BMQ$N$O(B
        sunsite.unc.edu:/pub/Linux/devel/gdb-4.11-bin.tar.gz
    $B$K$"$j$^$9!#(B

    X $B%G%P%C%,$O(B gdb $B$r85$H$7$F$$$k$N$G!J$9$J$o$A!":G=i$K(B gdb $B$r%$%s%9%H!<%k$9(B
    $B$kI,MW$,$"$j$^$9$,!K;HMQ$G$-$^$9!#%=!<%9$O(B
                ftp.x.org:/contrib/xxgdb-1.06.tar.Z
    $B$K$"$j$^$9!#(B

    $B$^$?!"(BUPS $B%G%P%C%,$O(B Rick Sladkey $B;a$K$h$j:n$i$l$^$7$?!#$=$l$O(B xxgdb $B$HF1(B
    $BMM$K(B X $BG[2<$GF0:n$7$^$9$,!";w$F$$$^$;$s!#C1$J$k(B X $B$N%F%-%9%H%Y!<%9$N%G%P%C(B
    $B%,$G$O$"$j$^$;$s!#NI$$FCD'$r$?$/$5$s;}$C$F$*$j!"$b$7!"%G%P%C%0:`NA$K;~4V$r(B
    $BHq$d$9$J$i$P!":`NA$r%A%'%C%/%"%&%H$9$Y$-$G$7$g$&!#(BUPS $B$N(B Linux $BMQ$N%Q%C%A$O(B
            sunsite.unc.edu:/pub/Linux/devel/ups-2.45.2-linux-0.1.diff.gz
    $B$G8+$D$1$i$l$^$9!#$^$?!"6a$/$N(B X $B%"!<%+%$%V$^$?$O(B
                ftp.x.org:/contrib/ups-2.45.2.tar.Z
    $B$+$i!"%U%k%=!<%9$rl=j$r8+$F(B
    $B$/$@$5$$!#(B

    $Bl9g$K!"$=$l$r(B
  $BD4$Y$kJ}K!$O$"$j$^$9$+!)(B

$B2sEz(B: $B$O$$$"$j$^$9!#(B
    `ldd' $B$H$$$&%f!<%F%#%j%F%#$r;HMQ$7$F$/$@$5$$!#$3$N%f!<%F%#%j%F%#$O!"MW5a$5(B
    $B$l$k%i%$%V%i%j$N>pJs$r=PNO$7$^$9!#$b$7!"(B`ldd' $B$rpJs$b=P(B
    $BNO$5$l$J$+$C$?>l9g$O!"D4$Y$?%W%m%0%i%`$O@EE*$K%j%s%/$5$l$F$$$^$9!#(B

    $BNc(B (1): $B%3%^%s%I!J;d$N(B linux $B%7%9%F%`!K(B
        % ldd /bin/init
    $B=PNO$,$J$$$3$H$O@EE*$K%j%s%/$5$l$?$H$$$&$3$H$G$9!#@EE*$K%j%s%/$5$l$l$P$h$$(B
    $B$N$G$9!#(B:-) $B!J%N!<%H(B: libc.so.4.5.10 $B0J>e$G%j%s%/$5$l$?%W%m%0%i%`$G$O(B
    "statically linked" $B$N%a%C%;!<%8$,=PNO$5$l$k$G$7$g$&!#!K(B

    $BNc(B (2): $B%3%^%s%I!J;d$N(B linux $B%7%9%F%`!K(B
        % ldd /usr/bin/gs
    $B$9$J$o$A!"(Bghostscript $B%$%s%?%W%j%?$O0J2<$N>pJs$r=PNO$7$^$9!#(B
            libm.so.4       => /lib/libm.so.4.4 (4.0)
            libX11.so.3     => /lib/libX11.so.3.0 (DLL Jump 3.0pl0)
            libc.so.4       => /lib/libc.so.4.4 (DLL Jump 4.3)
    $B$3$N$3$H$O!"(B`gs' $B%W%m%0%i%`$,F0E*$K%j%s%/$5$l!"(B3 $B$D$N6&M-%i%$%V%i%j$rMW5a$7(B
    $B$F$$$k$3$H$r<($7$F$$$^$9!#3g8LFb$N?t$O$?$@0l$D$N%i%$%V%i%j!J(BlibX11$B!K$r<($7(B
    $B$F$*$j!"%W%m%0%i%`$,%3%s%Q%$%k$5$l$?$H$-$K;}$C$F$$$?%i%$%V%i%j$N%+%l%s%H%P(B
    $B!<%8%g%s$G$9!#(B`gs' $B$,!"?tCM1i;;%i%$%V%i%j(B (libm), $B$G%3%s%Q%$%k$5$l$?$H$-(B
    $B$O!"%P!<%8%g%s(B 4.0 $B$G!"(BDLL $B%i%$%V%i%j$G$J$+$C$?$N$G$9$,!"9,1?$K$b(B 4.4 $B$N(B 
    DLL $B%i%$%V%i%j$G$bAv$i$;$k$3$H$,$G$-$=$&$G$9!#F1MM$K!";d$N%+%l%s%H$N(B C $B%i%$(B
    $B%V%i%j(B (libc)$B$O!"(B`gs' $B$r%3%s%Q%$%k$7$?$H$-$h$j%P!<%8%g%s$,>e$,$C$F$$$^$9!#(B

    $B"((B $B$"$J$?$N(B `ldd' $B$O%P!<%8%g%s$K$h$C$F$O!"$J$K$+JL$N7k2L$r=PNO$r$9$k$+$b$7(B
       $B$l$^$;$s!#(B

-------------------------------------------------------------------------------

20) Linux $B$O(B LD_LIBRARY_PATH $B$r%5%]!<%H$7$F$$$^$9$+!)(B

$B2sEz(B: $B$O$$$H$$$$$($G$9!#%P%$%J%j$N%3%s%Q%$%k;~$K;HMQ$7$?(B libc $B$N%P!<%8%g%s$K(B
    $B0MB8$7$^$9!#(B

    * $BBh0l$K(B LD_LIBRARY_PATH $B$O!"(B4.3.3 $B0J>e$N%i%$%V%i%j$G%5%]!<%H$5$l$F$$$^$9!#(B

    $B$9$J$o$A!"$"$J$?$N(B stub (/usr/lib/libc.sa) $B$N(B __load.o $B%k!<%A%s$O!"$3$l$re(B) $B0J>e$N%i%$%V%i%j$r;H(B
    $BMQ$7$F%3%s%Q%$%k$7$?$J$i$P!"%$%(%9$G$9!#$7$+$7!"7k2L$H$7$F$O!"!X$9$Y$F$N!Y(B
    $B%P%$%J%j$r%j%3%s%Q%$%k$9$l$P!"5$$r$D$1$kI,MW$O$J$$$G$7$g$&!#(B

    * libc $B$N%P!<%8%g%s$,(B 4.4.4 $B0J>e$G$O!"F0E*$K:n$i$l$?F0E*%m!<%@$OI,MW$J%i%$(B
    $B%V%i%j$r8!:w!"0LCV$E$18e$K<+J,<+?H$r%m!<%G%#%s%0!"%"%s%m!<%G%#%s%0$7$^$9!#(B
    $B$3$N7k2L!"%P%$%J%j$O>.$5$/!"F0E*%m!<%@!"%j%s%+$K$h$kJQ99$O(B libc $B$+$i3VN%$5(B
    $B$l$^$9!#(Bld.so $B%Q%C%1!<%8$K$"$k(B ld.so $B$H(B ldconfig $B$N%^%K%e%"%k$r8+$F$/$@$5(B
    $B$$!#$^$?!$H$7$F$/$@$5$$!#(B

    Linux $B$N(B LD_LIBRARY_PATH $B$O0BA4$G4J7i$G$"$j!"(BSun-OS $B$G9T$C$?J}K!$d9T$$$?(B
    $B$$J}K!$G$NF0$-$OM=4|$G$-$^$;$s!#(B

    $B:G=i$K(B Sun-OS $B$N(B LD_LIBRARY_PATH $B$N;HMQJ}K!$H$N0c$$$O!"%3%s%Q%$%k!J%j%s%/!K(B
    $B>uBVCf$N;v$G$"$j!"(BSun-OS $B$N(B LD_LIBRARY_PATH $B$O!"$$$m$$$m$J%i%$%V%i%j$r8+$D(B
    $B$1$k$?$a$K2rpJs$r5-O?$7$F$$$^$;$s$,!"$=$NBe$o$j$H$7$F%j%s%/$KI,MW$J(B
    $B%i%$%V%i%j$N%i%s%?%$%`!JH2q$5$l$^$9!#(B

    $B"((B / $B$O!"K\Ev$O%5!<%A%Q%9$G$O$"$j$^$;$s$,!"2a5n$N8_49@-$N$?$a$K;D$C$F$*$j!"(B
      $B%f!<%6$N$J$+$K$O(B "/lib/libfoo.so" $B$H$$$C$?L>A0$r;H$C$F$$$k(B $B6&M-(B DLL $B$r(B
      $B:n$k$H(B uselib() $B$O0J2<$N$h$&$KF0:n$7$^$9!#(B

        (1) uselib("/usr/lib//lib/libfoo.so.x")  ---- $B$O$:$l(B
        (2) uselib("/lib//lib/libfoo.so.x")      ---- $B$^$?$O$:$l(B
        (3) uselib("//lib/libfoo.so.x")          ---- $BEv$?$j(B !!

    $B$=$N$?$a!"l9g!"(Blibc.so.x $B$HI,MW$J%i%$%V%i%j$O6/@)E*$K4|BT8!:w%Q%9$N$I$3(B
    $B$+$+$i%m!<%I$5$l$^$9!#(BLD_LIBRARY_PATH $B$OL5;k$5$l$^$9!#!J;vu(B
    $BBV!K$3$l$K$h$j!"<+?H$N%(%_%e%l!<%7%g%s$+$iIaDL$N%f!<%6$G$ODd;_$7$^$9!#(B
    $BNc$($P!"(Bsetuid() $B$O!"<+J,$G:n$C$?(B libc $B%i%$%V%i%j$,8F$P$l$^$9!#(B

    $B:G8e$K!"$b$7!"%N!<%^%k%f!<%6$G$NJ}K!$G!"$h$j$h$$2r7hJ}K!$O$3$A$i$G$9!#(B

        % cat > /lib/cpp
        #!/bin/sh
        cc -E "$@"
        Ctrl-D[EOF]

    $B$3$NJ}K!$O!"?7$7$$(B gcc $B$K$7$F!"8E$$(B gcc $B$r:o=|$7$?$H$-$K(B /lib/cpp $B$,F0$+$J(B
    $B$/$J$k$+$b$7$l$^$;$s!#(B

-------------------------------------------------------------------------------

22) <varargs.h> $B$O$I$3$G$9$+!)(B

$B2sEz(B: varargs.h $B$O!"(B/usr/lib/gcc-lib/i386-linux/2.5.7/include $B$NCf$NB>$N%7%9%F(B
    $B%`$KB8$7$?%U%!%$%k$K$"$j$^$9!#(B
    <varargs.h> $B$O!"(BK&R $B$K$"$k$b$N$G$9!#(Bgcc $B$N%G%U%)%k%H$O(B ANSI $B$G$9!#(B
    <stdarg.h> $B$rBe$o$j$K;H$&$Y$-$G$7$g$&!#(B

    ** $B%P!<%8%g%s%J%s%P(B 2.5.7 $B$O!"$"$J$?$N;H$C$F$$$k(B GCC $B$N%P!<%8%g%s$KCV$-49$((B
       $B$F2<$5$$!#(B
    ** $B$b$7!"(B486 $BMQ$N%3%s%Q%$%i$r;H$C$F$$$k$J$i!"(Bi386 $B$r(B i486 $B$KJQ99$7$F$/$@$5(B
        $B$$!#(B

-------------------------------------------------------------------------------

23) $B;d$N%W%m%0%i%`$G!"(B<linux/foo.h> $B$r%$%s%/%k!<%I$7$?$$$N$G$9$,!"8+$D$1$k$3$H(B
  $B$,$G$-$^$;$s!#$I$3$K$"$k$N$G$7$g$&$+!)(B

$B2sEz(B: $B$$$/$D$+$N%$%s%/%k!<%I%U%!%$%k$O!"%+!<%M%k$N%P!<%8%g%s$K0MB8$7$F$*$j!"(B
    $B$3$N$h$&$K!"%+!<%M%k$N%j%j!<%9$4$H$K$J$C$F$$$^$9!#:G?7$N%+!<%M%k$N%=!<%9$r(B
    $Bl9g$O!"(B
        00000000 T flock
    flock() $B4X?t$,(B libc.a/libc.sa. $B$KDj5A$5$l$F$$$^$9!#(B

    $Bl9g$O!"(B
        00000000 U flock
    flock() $B$,;2>H$G$-$k$3$H$r<($7$^$9!#(B`U' $B$O!"(Bflock $B$,$I$3$+$GDj5A$5$l$F$*(B
    $B$j!">pJs$r2r@O$9$k$3$H$G>l=j$,$o$+$k%i%$%V%i%j$r%$%s%/%k!<%I$9$kI,MW$,$"(B
    $B$k$3$H$r0UL#$7$F$$$^$9!#(B

-------------------------------------------------------------------------------

25) $B%W%m%0%i%`(B XXX $B$r(B Linux $B$K;}$C$F$/$k$K$O$I$&$9$l$P$$$$$G$9$+!)(B

$B2sEz(B: $B$@$l$+$,!"(BLinux $B$K%W%m%0%i%`$r!X;}$C$F$-$?!Y;~$KLa$C$F$/$@$5$$!#(B
    $B$b$7!"(BLinux $B$K;}$C$F$-$?$b$N$,2?$b$J$+$C$?$i!"0UL#$,$"$j$^$;$s!#(B

    $BK\5$$G9M$($k$H!"0lHLE*$K>.JQ99$H$7$F$O!"(BLinux $BMQ$K(B 100% POSIX $B$K$7$?$,$C$F(B
    $BJT=8$7$?%=!<%9$,I,MW$G$9!#(B
    $B85$N%W%m%0%i%`%3!<%I$,JQ99$5$l$F$b$$$$$h$&$K!">-MhE*$K$O(B `make' $B$@$1$G$N0lHLE*$JLdBj$H$7$F$O!"(B"sprintf(string, fmt, ...)" $B$G$O!"$[$H$s$I$N(B
     unix $B$N>l9g$O!"G[Ns$N%]%$%s%?$rJV$7$^$9!#(BLinux $B$G$O!"G[Ns$NCf$NJ8;z?t$rJV(B
    $B$7$^$9!#(B

    $B$=$NB>$NLdBj$O!"(BLinux $B$N(B GCC $B$O!"(BANSI $B%3%s%Q%$%i$G$"$k$H$$$&;vC6KE*$J!K2r7hJ}K!$G$9!#(B

    +----------------------------------------+
    | Brouno Haible $B;a$+$i$N2ACM$"$k%3%a%s%H(B |
    +----------------------------------------+

    $B$3$l$O!"(BUnix $B$N%=%U%H%&%'%"$r(B Linux $B$K;}$C$F$/$k$H$-$KH/@8$9$k$G$"$m$&LdBj(B
    $B$r5-=R$7$F$_$?$b$N$G$9!#(B

    C $B$G=q$+$l$?%=%U%H%&%'%"$G$"$k$H2>Dj$7$^$9!#(B

    Linux ($B8@$$49$($k$H!"(BLinux $B$N%7%9%F%`%3!<%k$H(B C $B%i%$%V%i%j4X?t(B) $B$O!"$G$-$k(B
    $B$+$.$j!"(BPOSIX $B8_49$K6a$E$1$F$$$^$9!#$3$l$+$iC;$$%j%9%H$r:n$C$F$_$^$9!#(B


    $BLdBj(B 1: select() $B$N(B timeout $B%Q%i%a%?(B
    ------------------------------------

    $BC{8u(B:
    $BF~NO$G(B CPU $B$r?)$$$D$V$9%]!<%j%s%0$r$9$k$h$&$J%W%m%0%i%`(B

    $BLdBj(B:
    select() $B$O%7%9%F%`%3!<%k$G$9!#(Btimeout $B%Q%i%a%?$O!"8EE5E*$K%7%9%F%`$G$O!"(B
    $B%j!<%I%*%s%j!<$H$7$F;H$o$l$^$9!#$$$/$D$+$N%^%K%e%"%k$K$O!"(B3 $BG/0J>eA0$+$i(B
    $B5-=R$5$l$F$$$^$9!#(B

        select() $B$O!"7h$^$C$?>l=j$G;~4V$,JQ99$5$l$k$H$*$*$h$=%*%j%8%J%k$N(B 
        timeout $B$+$i;D$C$?;~4V$rJV$7$^$9!#$3$N$3$H$O!">-Mh!"JdB-$5$l$k$G$7$g(B
        $B$&!#$7$?$,$C$F!"(Bselect $B%3!<%k$G(Btimeout $B%]%$%s%?$,JQ99$5$l$J$$$H;W$&$3(B
        $B$H$O6r$+$J$3$H$G$9!#(B

    $B$b$7!"$^$8$a$K$3$N%"%I%P%$%9$r-MhE*$J%3!<%k$,$9$0$KLa$C$F$/$k$3$H$r0UL#$7$^$9!#(B

    $BMQ0U(B:
    $B%?%$%`%"%&%H$NCM$r(B select() $B$r8F$V$H$-$O$$$D$b9=B$BN$KF~$l$F$/$@$5$$!#(B

    $B0J2<$N$h$&$K%3!<%I$rJQ99$7$F$/$@$5$$!#(B

               struct timeval timeout;
               timeout.tv_sec = 1; timeout.tv_usec = 0;
               while (some_condition)
                 { select(n,readfds,writefds,exceptfds,&timeout); }

    $B$+$i(B

               struct timeval timeout;
               while (some_condition)
                 { timeout.tv_sec = 1; timeout.tv_usec = 0;
                   select(n,readfds,writefds,exceptfds,&timeout);
                 }

    $B$X(B

    $BLdBj#2(B: $B%7%9%F%`%3!<%k$K$h$k3d$j9~$_(B
    ------------------------------------

    $BC{8u(B:
    $B%3%s%H%m!<%k(B Z $B$G%W%m%0%i%`$r;_$a!"$=$N8e%j%9%?!<%H$7$?!"$^$?$O!"$=$NB>$N(B
    $B>u67$G!"%3%s%H%m!<%k(B C $B3d$j9~$_$N%7%0%J%k$,H/@8$7$?$H$-!"%3%W%m%;%9$,=*N;(B
    $B$7$^$9!#(B"interrupted system call" $B$d(B "write: unknown error" $B$N$h$&$J%a%C%;(B
    $B!<%8$,JV$C$F$-$^$9!#(B

    $BLdBj(B:
    $Bo=*N;$7$?$h$&$K(B
    $B8+$($F$7$^$$$^$9!#(B

    $B2r@b(B:
    $B$"$J$?$N%W%m%0%i%`$O!J(Bsignal(), sigaction(), sigvec() $B$r;H$&!K%$%s%9%H!<%k(B
    $B$5$l$?%7%0%J%k%O%s%I%i$r;}$C$F$$$^$9!#%7%0%J%k$,H/@8$9$k$H%7%0%J%k%O%s%I%i(B
    $B$,8F$S=P$5$l$^$9!#$3$N8=>]$O!"$[$+$N(B UNIX $B%7%9%F%`$N>l9g!"HsF14|!"$^$?$O(B
$B!!!!(B 2, 3 $B$NCY$$%7%9%F%`%3!<%k$G5/$3$j$^$9!#(B

        $B%7%0%J%k$,CY$$%G%P%$%9!J%U%!%$%k$G$J$$!"%?!<%_%J%k$N$h$&$J!K$G(B read(2),
        write(2), open(2), ioctl(2) $B$N%7%9%F%`%3!<%k$N%s%S%W%m%;%9$,$9$G$KB8:_$7$F$$$k$?$a$9$0$K$O(B
        $BLa$C$F$-$^$;$s!#%7%0%J%k$r%-%c%C%A$9$k4X?t$,(B TCP or NFS $BA`:n(B
          $B!X$=$NB>$N%*%Z%l!<%F%#%s%0%7%9%F%`$G$O!"0J2<$N%7%9%F%`%3!<%k$b4^$a$J(B
          $B$1$l$P$J$i$J$$$+$b$7$l$^$;$s!#(B

           creat(), close(), getmsg(), putmsg(), msgrcv(), msgsnd(), recv(),
           send(), wait(), waitpid(), wait3(), tcdrain(), sigpause(),
           semop() $B!Y(B

    $B:G8e$N(B 2 $B$D$N%1!<%9$H%7%0%J%k%O%s%I%i$NI|5"CM$N2>Dj$K$h$j%7%9%F%`%3!<%k$O(B
    -1 $B$rJV$7!"(Berrno $B$K(B EINTR $B$r%;%C%H$7$^$9!#(B

    $B$b$7!"(BSA_RESTART $B%U%i%0$,Id9g$7$?%7%0%J%k$H$7$F%;%C%H$5$l$F$b!"$[$H$s$I$N>l(B
    $B9g!"%7%9%F%`%3!<%k$O%7%0%J%k%O%s%I%i$A$KH?1~$9$k5!2q$rM?$($^$9!K$G$"$k$+$i$G$9!#(B
    $B%7%9%F%`%3!<%k$O$b$O$d!X%@!<%/%H%s%M%k!Y$G$O$J$$$N$G$9!#(B

    $B%N!<%H(B : $B$$$/$D$+$N%P!<%8%g%s$N(B BSD Unix $B$N%G%U%)%k%HF0:n$O%7%9%F%`%3!<%k$r(B
    $B%j%9%?!<%H$9$k$3$H$G$9!#3d$j9~$^$l$?%7%9%F%`%3!<%k$rl9g!"(Bread(), write(),
    ioctl(), select(), pause(), connect() $B>e$N(B EINTR $B$r%A%'%C%/$7$J$1$l$P$J$j$^(B
    $B$;$s!#(B
    $B$3$3$K(B read() $B$H(B ioctl() $B$N(B 2 $B$D$NNc$r$"$2$F$*$-$^$9!#(B

    read() $B$r;H$C$F$$$k%*%j%8%J%kItJ,$N(B

                 int result;
                 while (len > 0)
                   { result = read(fd,buffer,len);
                     if (result < 0) break;
                     buffer += result; len -= result;
                   }
    $B$r(B

                 int result;
                 while (len > 0)
                   { result = read(fd,buffer,len);
                     if (result < 0) { if (errno != EINTR) break; }
                     else { buffer += result; len -= result; }
                   }

    $B$KJQ99$7$^$9!#(B
    $B$^$?!"(Bioctl() $B$r;H$C$F$$$k%*%j%8%J%k$NItJ,$N(B

                 int result;
                 result = ioctl(fd,cmd,addr);

    $B$r(B

                 int result;
                 do { result = ioctl(fd,cmd,addr); }
                    while ((result == -1) && (errno == EINTR));

    $B$KJQ99$7$^$9!#(B

-------------------------------------------------------------------------------

26) gcc/library $B$N(B foo $B$G%P%0$r8+$D$1$?$N$G$9$,!"$I$&$9$l$P$h$$$N$G$7$g$&$+!)(B

$B2sEz(B: $BK\Ev$G$9$+!)(B
    $B$($C$H!"$b$7!"%W%m%0%i%`$,0[>o=*N;!"$^$?$O4|BTDL$j$KF0$+$J$$$J$i$P!"$^$:(B
    $B:G=i$K;n$7$F$_$F!"?t9T$K%3!<%I$r9J$j9~$s$G!"3NG'$7$F$/$@$5$$!#(B

    $B@EE*%P!<%8%g%s$H6&M-%P!<%8%g%s$I$A$i$G$bH/@8$7$^$9$+!)(B
    $B!J$9$J$o$A!"(BDLL $B%i%$%V%i%j$H@EE*%i%$%V%i%j$I$A$i$+$NLdBj$G$7$g$&$+!)!K(B

    gcc $B$NAv$kJL$N%^%7%s$r;H$&$3$H$O$G$-$^$9$+!)8@$$49$($k$H!"(BLinux/GCC $B$N$_$G(B
    $B$J$/!"(BGCC $BA4BN$NLdBj$G$9$+!)$b$7$=$&$J$i0J2<$K<($9(B USENET $B$N%K%e!<%9%0%k!<(B
    $B%W$KEj9F$7$?$[$&$,$h$$$+$b$7$l$^$;$s!#(B

                gnu.gcc.bug, gnu.gcc.help, gnu.g++.help,
                comp.lang.c, or comp.lang.c++.

    $BLdBj$O?tCM1i;;%(%_%e%l!<%?$G$9$+!)$b$7$=$&$J$i!"?tCM1i;;%(%_%e%l!<%?$N:n.$5$/$9$k$3$H$,$G$-$^$9!#(B

-------------------------------------------------------------------------------

28) /usr/lib $BFb$K$"$k(B .sa $B%U%!%$%k$H$O2?$G$9$+!)(B

$B2sEz(B: .sa $B%U%!%$%k$H$O!"6&M-%i%$%V%i%j$+$iH4$-=P$?$b$N$G$"$j!"@5Ev$J%i%$%V%i%j(B
    $B$+$iH$7$F$/$@$5$$!#(B

-------------------------------------------------------------------------------

29) Linux $BMQ$N%*%V%8%'%/%H;X8~$N(B C $B$O$I$3$Ge$N%P!<%8%g%s$G%j%j!<%9$5$l$F$$$^(B
    $B$9!#$3$l$O!"L\2<%F%9%HCf$G$9!#:G?7%P!<%8%g%s$O0J2<$N$b$N$G$9!#(B
        tsx-11.mit.edu:/pub/linux/packages/GCC/gcc-2.5.7-p2.tar.gz

-------------------------------------------------------------------------------

30) "Internal compiler error: cc1 got fatal signal 11" $B$N%a%C%;!<%8$N0UL#$O2?$G(B
  $B$9$+!)(B

$B2sEz(B: GCC $B$O$?$V$s%W%m%0%i%`$rAv$i$;$k$?$a$KlEM_$K%a%b%j$r>CHq$7!"$-$C$H(B RAM 
    $B$NNN0h$r?)$$$D$V$7$?$N$G$7$g$&!#IaDL!"CWL?E*%7%0%J%k$N(B 11 $B$O!"(BRAM $B$N(B
    $B%Q%j%F%#%(%i!<$d%O!<%I>c32$r0UL#$7$F$$$^$9!#;d$b%O!<%I%G%#%9%/$NITNI%V%m%C(B
    $B%/$N$;$$$G(B cc1 $B$GF1$8>uBV$K4Y$C$?$3$H$,$"$j$^$9!#$=$l$O!"%A%C%W$N%*!<%P!<(B
    $B%R!<%H!J%U%l%s%A%U%i%$$G$O$"$j$^$;$s!K$K$h$k%(%i!<$H$7$FJs9p$5$l$F$$$^$9!#(B
    $B$^$?!"Dc5!G=$N(B IDE $B%3%s%H%m!<%i$H%I%i%$%V$G(B 8MHz AT $B%P%9%/%m%C%/0J>e$GAv$i(B
    $B$;$h$&$H$9$k$HH/@8$7$^$9!#$3$l$O%9%o%C%W%9%Z!<%9$NJQB$$r0z$-5/$3$9$3$H$K$h(B
    $B$jF1$8%(%i!<$H$J$j$^$9!#(B

    $B0lHL$K!"%7%0%J%k(B 11 ($B%;%0%a%s%F!<%7%g%s!&%P%$%*%l!<%7%g%s!K$O!"%W%m%;%9%9(B
    $B%Z!<%9ITB->uBV$G$G%a%b%j$r%"%/%;%9$K9T$C$?!"$^$?$O%j!<%I%*%s%j!c32$H$O8B$j$^$;$s!#!J$^$?$O%7%9%F%`$N7+$jJV$7(B
    $B%O%s%0!#$J$<$J$i%+!<%M%k$GF1$8;v$,5/$-$k$+$i$G$9!#!K(Bgcc 2.3.3 $B$G$O!"2??M$+(B
    $B$,$?$/$5$s$N!I%7%0%J%k(B 11$B!I$r:F8=$7$^$7$?!#(B

    $B$^$?!"(B`ld' $B$d(B `as' $B$N:GCf$N>c32$H$7$F$bH/@8$7$^$9!#$b$7!"(Bcc1, cpp, $B$^$?$O(B
    ld $B$KLdBj$,$"$k$H$9$l$P!"(Bgcc $B$G(B -v $B%U%i%0$rIU$1$F%j%3%s%Q%$%k$7$F3NG'$7$F(B
    $B$_$F$/$@$5$$!#(B

-------------------------------------------------------------------------------

31) libc.lite $B$H$O2?$G$9$+!)(B

$B2sEz(B: libc.lite $B$H$O!"%U%m%C%T!<1?MQ$G$[$H$s$I$NH\$7$$(B($BLuCm(B:$B0UL#ITL@(B) UNIX $B$N(B
    $B%?%9%/$rK~B-$9$k$?$a$N(B libc $B%i%$%V%i%j$N7Z$$%P!<%8%g%s$G$9$3$l$K$O!"(Bcurses,
    dbm, termcap $B$J$I$N%3!<%I$r4^$s$G$$$^$;$s!#$b$7!"$"$J$?$N(B /lib/libc.so.4 $B$,(B
    $B7Z$$%i%$%V%i%j$r%j%s%/$7$F$$$k$J$i$P!"%U%k%P!<%8%g%s$KCV$-49$($k;v$r$*4+$a(B
    $B$7$^$9!#$I$3$GH$7$F$/$@$5$$!#(B

-------------------------------------------------------------------------------

32) Linux $B$N%i%$%V%i%j$O(B SHADOW Password $B$r%5%]!<%H$7$F$^$9$+!)(B
  $B$^$?!"%*%s!&%*%U$O$I$&$9$l$P$h$$$N$G$9$+!)(B

$B2sEz(B: $B%5%]!<%H$7$F$$$^$9!#(B
    $BE,Ev$J>l=j$K(B SHADOW_PWD $B$rDj5A$7$F%3%s%Q%$%k$7!"(Bshadow $B%i%$%V%i%j$r%j%s%/(B
    $B$9$kI,MW$,$"$j$^$9!#(Bshadow $B%i%$%V%i%j$O0J2<$GF~$N%k!<%A%s$r;H$C$?!X$9$Y$F$N!YI,MW$J(B
    $B%P%$%J%j$r%3%s%Q%$%k$9$k$3$H$J$7$G$O!"(Bshadow password $B$N%*%s!&%*%U$r9T$&(B
    $BJ}K!$,!X$J$$!Y$3$H$r0UL#$7$F$$$^$9!#(B

-------------------------------------------------------------------------------

33) math.h $B%k!<%A%s$,8+$D$+$j$^$;$s!#%W%m%0%i%`$r%3%s%Q%$%k$7$F$$$k$N$G$9$,!"(B
  log(), sin() $B$J$I$,8+$D$+$j$^$;$s!#$@$l$+!"=u$1$F!*(B

$B2sEz(B: $B@5$7$$4X?t$r;HMQ$7$?%W%m%0%i%`$r%3%s%Q%$%k$7$F$$$k>l9g!"E,@Z$J%i%$%V%i%j(B
    $B$r%W%m%0%i%`$K!XI,$:!Y%j%s%/$7$J$1$l$P$J$j$^$;$s!#?tCM1i;;4X?t$r;H$&$K$O(B
    $B%j%s%/;~$K(B libm.a $B$r%$%s%/%k!<%I$7$J$1$l$P$J$i$J$$$H$$$&$3$H$G$9!#8@$$49$((B
    $B$k$H(B LDFLAGS $B$K(B -lm $B$r!"(Bcurses $B4X?t$G$O(B -lcurses $B$r(B dbm $B4X?t$G$O(B -ldbm $B$J$I(B
    $B$r2C$($kI,MW$,$"$j$^$9!#(B

    $BIaDL$O!"%*%V%8%'%/%H$N8e$K(B -lm $B%U%i%0$rCV$-$^$9!#(B
        % gcc -lm -o math_prog math_prog.c
    $B$O!"$^$:$$$d$jJ}$G?tCM1i;;4X?t$O2r@O$G$-$^$;$s!#$=$&$G$O$J$/!"(B
        % gcc -o math_prog math_prog.c -lm
    $B$HF~NO$7$F$/$@$5$$!#(B

-------------------------------------------------------------------------------

34) GCC $B$N%^%K%e%"%k$O$"$j$^$9$+!)$b$7$"$k$J$i!"$I$3$G$N(B FSF $B$NET9g$N$h$$$H$3(B
    $B$m$+$i$9$Y$F$N%=!<%9$rl=j$K$"$j$^$9!#:F$S!"%^%K%e%"%k$r:n@.$9$k$?$a$K(B TeX $B$,I,MW$H$J$j$^(B
    $B$9!#(B
    $B$3$N%^%K%e%"%k$GCm0U$9$Y$-E@$O(B 900 $B%Z!<%8$NBg$-$5$G$"$k$3$H$G$9!#(B
    $B7O?^$rpJs!Y%U%!%$%k$+$iMh$k$I$A$i$N%Q%C%1!<%8$b(B Gnu info $B$d(B xinfo, emacs $B$r;H(B
    $BMQ$7$F8+$k$3$H$,$G$-$^$9!#!X>pJs!Y%U%!%$%k$O>pJs%7%9%F%`$K4p$E$$$?%O%$%Q!<(B
    $B%F%-%9%H7A<0$G$9!#(B

-------------------------------------------------------------------------------

35) "Undefined symbol _bsd_ioctl" $B$N%a%C%;!<%8$,=P$^$7$?!#$I$&$9$l$P$$$$$N$G$9(B
  $B$+!)(B

$B2sEz(B: $B%j%s%/;~$K(B /usr/lib/libbsd.a $B$H$$$&(B bsd $B$N%i%$%V%i%j$r%$%s%/%k!<%I$9$k$3(B
    $B$H$rK:$l$F$$$^$9!#(B

    $B2r7hJ}K!(B: Makefile $B$N(B LDFLAGS $B9T$K(B -lbsd $B%U%i%0$r2C$($F$/$@$5$$!#!J(BLDFLAGS 
    $B9T$,L5$$>l9g$Oe$@$C$?>l9g$O!"(B
    -lipc $B$OI,MW$"$j$^$;$s!#(BMakefile $B$+$i$=$N9T$r>C$7$F$/$@$5$$!#$b$7!"(B
    libc.so.4.4.1 $BL$K~$@$C$?>l9g$O!"%i%$%V%i%j$r%P!<%8%g%s%"%C%W$7$F$/$@$5$$!#(B

-------------------------------------------------------------------------------

38) XXX $B$,%3%s%Q%$%k$G$-$^$;$s!#(B_daemon $B$,L$Dj5A$K$J$j$^$9!#$@$l$+=u$1$F!*!*(B

$B2sEz(B: daemon() $B$O(B libbsd.a $B$KF~$C$F$$$^$9!#(B-lbsd $B$r(B Makefile $B$N(B LDFLAGS $B9T$K(B
    $B2C$($F$/$@$5$$!#(B

-------------------------------------------------------------------------------

39) $B!X=u$1$F!Y(Bar $B$H(B $B%i%$%V%i%j$K$D$$$F$G$9!#%7%s%\%k$O%i%$%V%i%j$K$"$k$N$G$9(B
  $B$,!"%j%s%/$K<:GT$7$^$9!#(B

$B2sEz(B: $B$7$P$7$P(B `ranlib' $B$,@5$7$$%F!<%V%k$r:n$i$J$$$H$$$&(B `ar'$B$N%P%0$G$9!#(B
    $B0J2<$N%3%^%s%I$rBG$A9~$a$PF0$/$h$&$K$J$j$^$9!#(B

        % ar -dv libfoo.a __.SYMDEF
        % ranlib libfoo.a

-------------------------------------------------------------------------------

40) $B=u$1$F!*(B $B=i?4l9g(B
                        % limit core 0
    Bourne shell `sh' (bash) $B$N>l9g(B
                        % ulimit -c 0

    $B$rl9g(B
                        % limit core unlimited
    Bourne shell `sh' (bash) $B$N>l9g(B
                        % ulimit -c unlimited

    $B$rH$7$F$/$@$5$$!#(B

-------------------------------------------------------------------------------

45) -O2 $B$H(B -O6 $B$G$N8zN($N0c$$$O2?$G$9$+!)(B

$B2sEz(B: $B8=:_$O$"$j$^$;$s!#$b$7!"$"$J$?$,(B i386/i486 $B$N%[%9%H(B / $B%?!<%2%C%H$H$7$F(B 
    GCC $B$N%=!<%9%3!<%I$r8+$F$$$k$J$i!"(B-Ox $B$G(B x>2 $B$N>l9g$OF1$8$b$N$G$"$k$3$H$,(B
    $B$o$+$k$G$7$g$&!#-Mh(B -O3 $B$H$$$C$?:GE,2=%*%W%7%g%s$r%$%s%F%k!J$N%A%C%W!K$r%?!<%2(B
    $B%C%H:NMQ$9$k$+$b$7$l$J$$$?$a!"$=$N:GE,2=$K$h$C$F=PNO$5$l$k%3!<%I$,GK2u$5$l(B
    $B$k$+$b$7$l$^$;$s!#(B

-------------------------------------------------------------------------------

46) $B=P=jITL@$N%P%$%J%j$,%H%m%$$NLZGO$N$h$&$J%&%#%k%9$K46@w$7$F$$$k$+$I$&$+(B
  $B%A%'%C%/$9$kJ}K!$O!)(B

$B2sEz(B: $B:G=i$K!"$b$7!"$"$J$?$N%^%7%s$,%&%#%k%9$K46@w$7$F$$$k$+?4G[$J$i$P!"F0$+$5(B
    $B!X$J$$!Y$3$H$G$9!J>/$J$/$H$b(B root $B$G$O!K!#$=$7$F!"%=!<%9$r8+$D$1$F%j%3%s%Q(B
    $B%$%k$7$F$/$@$5$$!#B>$NJ}K!$H$7$F$O!"(B"string <filename> | less" $B$HF~NO$9$k$3(B
    $B$H$G2?$i$+$N>pJs$,H$7$F$/$@$5$$!#(B
                tsx-11.mit.edu:/pub/linux/pagkages/GCC/libc-4.5.8.tar.gz

    $B$b$7!"6&M-%i%$%V%i%j$,M_$7$$$J$i!"(Bdll $B%D!<%k%Q%C%1!<%8$,I,MW$K$J$k$G$7$g(B
    $B$&!#l=j$r;2>H$7$F$/$@$5$$!#(B

-------------------------------------------------------------------------------

48) FD_* $B$NDj5A$O$I$3$K$"$j$^$9$+!)(B

$B2sEz(B: <sys/time.h> $B$K4^$^$l$F$$$F!"%^%/%m$bDI2C$5$l$k$G$7$g$&!#(B

-------------------------------------------------------------------------------

49) -g $B%*%W%7%g%sIU$G%j%s%/$7$?$i!"(B___fpu_control $B$H(B ___setfpucw $B$,L$Dj5A$@$H8@(B
  $B$o$l$F$7$^$C$?$N$G$9$,!#(B

    /usr/lib/crt0.o Undefined symbol ___fpu_control reference from text segment.
    /usr/lib/crt0.o Undefined symbol ___setfpucw reference from text segment.

  $B$J$K$,0-$$$N$G$7$g$&$+!)(B

$B2sEz(B: libc.sa $B$N(B crt0.o $B$H(B libc.sa $B$H(B libc.a $B$r:G6a$N(B linux $B$N(B libc $B$K%"%C%W%G(B
    $B!<%H$9$kI,MW$,$"$j$^$9!#$7$+$7!"8E$$(B libg.a $B4X78$,;D$C$F$7$^$$$^$9!#(B

    $B$b$7!"K\Ev$K%G%P%C%0%i%$%V%i%j$K$h$k%9%?%F%#%C%/%P%$%J%j!J(B-g $B$N0UL#$9$k!K(B
    $B$,I,MW$J$i$P!"(Blibg.a $B$rF~$C$F$/$@$5$$!#(B

    $B%f!<%6$,:n$C$?$$$m$$$m$J8@8l$K$h$k%+%?%m%0$O0J2<$N$H$3$m$G8+$D$1$i$l$^$9!#(B
        sunsite.unc.edu:/pub/Linux/utils/nls/catalogs
    $B$=$l$i$rF~$k$Y$-%G%#%l%/%H%j$KF3F~$7$^$9!#(B

    $BCm#1(B: $B9q:]2=%D!<%k$H4X?t$O%P!<%8%g%s(B 4.4.4$B!JNc$($P!"(Blibc.so.4.5.x $B0J>e!K$G(B
    $B;HMQ2DG=$G$9!#(B

    $BCm#2(B: linux $B$K$*$1$k!X9q:]2=!Y$N>u67$OCY$l$F$*$j!"(Blinux pl14 $B$G(B 
    Latin-1/ISO-8859-1 $B$N%-%c%i%/%?!<%;%C%H$,$d$C$H%5%]!<%H$5$l$?$h$&$J>uBV$G(B
    $B$9!#(B

-------------------------------------------------------------------------------

51) `mkimage' $B$H$$$&(B DLL $B%D!<%k$,(B libgcc $B$N$J$+$K8+$D$+$j$^$;$s!#=u$1$F$/$@$5(B
  $B$$!#(B

$B2sEz(B: libc.so.4.5.x $B0J>e$G$O!"(Blibgcc $B$O$9$G$K6&M-$G$O$"$j$^$;$s!#(B
    $B$7$?$,$C$F!"(Bmkimage $B$N(B `-lgcc' $B$NItJ,$r0J2<$N$h$&$KCV$-49$($J$1$l$P$J$j$^$;(B
    $B$s!#(B

        `gcc -print-libgcc-file-name`

    $BC;$/$9$k$H(B

        `gcc --print`

    $B$G$9!#%P%C%/%/%)!<%H$OI,MW$"$j$^$;$s!#(B

-------------------------------------------------------------------------------

52) "__NEEDS_SHRLIB_libc_4 multiply defined" $B$N%a%C%;!<%8$r=P$J$$$h$&$K$9$k$K$O(B
  $B$I$&$9$l$P$$$$$N$G$7$g$&$+!)(B

$B2sEz(B: libc.sa.4.5.x $B0J>e$G$O(B libgcc $B$O6&M-$G$O$J$/$J$C$F$$$^$9!#$7$?$,$C$F!"(B
    /usr/lib/libgcc* $B%U%!%$%k$r$9$Y$F:o=|$7!X$J$1$l$P!Y$J$j$^$;$s!#(B

        % rm -f /usr/lib/libgcc*

-------------------------------------------------------------------------------

53) QMAGIC $B$H$$$&$N$O!"0lHLE*$K$O$I$&$$$&$b$N$G$9$+!)(B

$B2sEz(B: QMAGIC $B$O%9%?%s%@!<%I$N(B a.out $B!J(BZMAGIC $B$H$$$C$?!K$N$h$&$JH$7$F$/$@$5$$!#(B

    QMAGIC $B/$7BT$C$F$/(B
      $B$@$5$$!#(B

55) "warning using incompatable library version xxx" $B$N%a%C%;!<%8$r=P$J$$$h$&$K(B  $B$9$k$3$H$O$G$-$^$9$+!)(B

$B2sEz(B: $B$O$$$G$-$^$9!#(B
    $B$b$7!"(B ld.so $B$N%P!<%8%g%s(B 1.4 $B0J>e$r;}$C$F$$$k$J$i!"4D6-JQ?t$K(B LD_NOWARN $B$r(B
    $BDI2C$9$k$3$H$G%a%C%;!<%8$r=P$J$/$9$k$3$H$,$G$-$^$9!#Cm(B: $BCWL?E*$J%(%i!<%a%C(B
    $B%;!<%8$O=PNO$5$l$^$9!#(B

    csh (tcsh)$B$G$O(B:
        setenv LD_NOWARN
    sh (bash)$B$G$O(B:
        export LD_NOWARN=1

    $B$G$9!#(B

===============================================================================

                       $BA0$,L5$/!"0UL#!&L50UL#$K$+$+$o$i$:2?$+9W8%$7$F$$$F$b!"(B
     $B$I$&$+!"5$J,$r32$5$J$$$G$/$@$5$$!#;d$NC1$J$k%_%9$G$9$N$G!#;d$KEE;R%a!<%k$r(B
     $B$/$@$5$$!#=$@5$7$^$9$N$G!#(B

===============================================================================

$B$3$N(B FAQ $B$r(B Linux $BMQ(B GCC $B$NL@3N$J2sEz$NJu8K$K$9$k$?$a$K!"EE;R%a!<%k$K$h$k

$B