/usr/share/doc/HOWTO/ja-html/MIPS-HOWTO-10.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
<TITLE>Linux/MIPS HOWTO: $B5;=QE*(B FAQ</TITLE>
<LINK HREF="MIPS-HOWTO-11.html" REL=next>
<LINK HREF="MIPS-HOWTO-9.html" REL=previous>
<LINK HREF="MIPS-HOWTO.html#toc10" REL=contents>
</HEAD>
<BODY>
<A HREF="MIPS-HOWTO-11.html">$B<!$N%Z!<%8(B</A>
<A HREF="MIPS-HOWTO-9.html">$BA0$N%Z!<%8(B</A>
<A HREF="MIPS-HOWTO.html#toc10">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s10">10.</A> <A HREF="MIPS-HOWTO.html#toc10">$B5;=QE*(B FAQ</A> </H2>
<H2><A NAME="ss10.1">10.1</A> <A HREF="MIPS-HOWTO.html#toc10.1">$B%P%0$NJs9p(B</A>
</H2>
<P>$B%P%0$rJs9p$9$kA0$K!"Ez$($,$3$NJ8=q$K:\$C$F$$$J$$$3$H$N3NG'$r$*4j$$$7$^$9!#(B
$B$^$?!"(B
<A HREF="http://www.linux-mips.org/archives/linux-mips">http://www.linux-mips.org/archives/linux-mips</A>
$B$N%5!<%A%(%s%8%s$r;H$C$F!"$"$J$?$NLdBj$r%a!<%j%s%0%j%9%H%"!<%+%$%V$+$iC5$7$F$_$F$/$@$5$$!#(B</P>
<P>$B$3$l$G2r7h$7$J$+$C$?>l9g$O!"%P%0%l%]!<%H$r$*4j$$$7$^$9!#(B
$B%+!<%M%k$N%P%0%l%]!<%H$KIT47$l$JJ}$O$^$:!"(B
<A HREF="http://www.linux-mips.org/cvsweb/~checkout~/linux/REPORTING-BUGS">REPORTING-BUGS</A>
(Linux 2.1 $B0J9_$G$O!"$3$l$O%+!<%M%kE:IUJ8=q$K$J$C$F$$$^$9(B)
$B$rFI$s$G!"I,MW$JA4$F$N>pJs$,%l%]!<%H$K4^$^$l$k$h$&$K$7$F$/$@$5$$!#(B
$BFC$K!"(BOops $B%a%C%;!<%8$N2r@O<j=g$NItJ,$,=EMW$G$9!#$3$l$,$J$1$l$P!"%l%8%9%?%@%s%W$NCM$+$i0UL#$r;}$D>pJs$r0z$-=P$9$3$H$O$[$H$s$IIT2DG=$G$9!#(B
$B$[$H$s$I$NLdBj$G$O!";H$C$F$$$k%7%9%F%`$N@53N$J>pJs$b=EMW$G$9!#(B
$B$^$:!"%7%9%F%`$O%W%m%;%C%5$@$1$+$i$J$kLu$G$O$J$$$3$H!"(BMIPS $B%7%9%F%`$O!"(BIntel
$B%7%9%F%`$h$j%7%9%F%`4V$N0c$$$,Bg$-$$$3$H$rG0F,$KCV$$$F$/$@$5$$!#(B
$B0lHLE*$K8@$C$F!"(BSystem.map $B$N$h$&$JBg$-$J%U%!%$%k$rE:IU$9$k$3$H$O!"L@<(E*$K$=$l$r5a$a$i$l$J$$8B$j$d$k$Y$-$G$O$"$j$^$;$s!#(B
$B$^$?!"%"!<%-%F%/%A%cHs0MB8$N%+!<%M%k%P%0$r8+$D$1$?$H;W$C$F$$$k>l9g$G$b!"G0$N$?$a(B linux-mips@linux-mips.org $B$K$b(B CC $B$r$*4j$$$7$^$9!#(B</P>
<H2><A NAME="ss10.2">10.2</A> <A HREF="MIPS-HOWTO.html#toc10.2">Linux/MIPS $B$N%$%s%9%H!<%k$H$h$/$"$kLdBj(B</A>
</H2>
<H3>NFS $B%V!<%H$K<:GT$9$k(B</H3>
<P>$BDL>o$O$3$l$O$3$N8=>]$K=P$/$o$7$??M$?$A$,(B tar $B%"!<%+%$%V$r(B Linux $B$G$O$J$/(B
IRIX $B$GE83+$7$?$?$a$G$9!#(BNFS $B1[$7$N%G%P%$%9%U%!%$%k$NDj5A$O(B Unix
$B4V$GI8=`2=$5$l$F$$$J$$$?$a!"$3$NLdBj$,5/$-$^$9!#8=>]$H$7$F$O!"(BNFS
$B%U%!%$%k%7%9%F%`$r%^%&%s%H$7$?D>8e$K%7%9%F%`$,(B ``Warning: unable to open
an initial console.'' $B$H$$$&%(%i!<%a%C%;!<%8$G;`$L$H8@$&$b$N$G$9!#(B</P>
<P>$B:#$N$H$3$m!"$3$NLdBj$N2sHr:v$O!"%$%s%9%H!<%k$K;H$&%"!<%+%$%V$r(B NFS
$B%5!<%P$KE83+$9$k:]$K(B Linux
$B%7%9%F%`$r;H$&$3$H$G$9!#$3$N(B Linux $B%7%9%F%`$O(B MIPS
$B5!$G$"$kI,MW$OL5$/!"(BNFS $B%5!<%P<+BN$O$I$N$h$&$J(B UNIX $B5!$G$bLdBj$"$j$^$;$s!#(B</P>
<H3>$B%+!<%M%k$,%3%s%Q%$%k$G$-$J$$(B</H3>
<P>Linux/MIPS $B$G$N%7%9%F%`$,!"F1$8$h$&$K$h$/J]<i$5$l$F$$$k$o$1$G$O$"$j$^$;$s!#(B
$B0lHLE*$K8@$C$F!"B?$/$N%f!<%6$N$$$k%^%7%s$K$O:Y$+$$7P83$NC_@Q$,?J$s$G$$$^$9$7!"$=$N7k2LNI$/%5%]!<%H$5$l$F$$$^$9!#(B</P>
<P>kernel.org $B$+$i%@%&%s%m!<%I$7$?%+!<%M%k$K$O:G?7$N(B MIPS
$B%5%]!<%H$O4^$^$l$F$$$^$;$s$N$G!"(BMIPS
$B%5%]!<%H$N$_$rBP>]$H$7$FJ]<i$5$l$F$$$k(B linux-mips.org
$B$+$i%@%&%s%m!<%I$7$?$b$N$H0c$C$F%3%s%Q%$%k$,DL$i$J$+$C$?$j!"F0$+$J$+$C$?$j$9$k$+$b$7$l$^$;$s!#(B</P>
<H3>$B<+J,$G%3%s%Q%$%k$7$?%+!<%M%k$,%V!<%H;~$K%/%i%C%7%e$9$k(B</H3>
<P>$B<+J,$G%+!<%M%k$r:n$C$?$s$G$9$,!"%/%i%C%7%e$7$^$9!#(BIndy
$B$G$O%/%i%C%7%e%a%C%;!<%8$O<!$N$h$&$J$b$N$G$9(B
($BF1MM$NLdBj$OB>$N%^%7%s$G$b5/$-$^$9$,!"%a%C%;!<%8$OA4$/0c$C$?$b$N$+$b$7$l$^$;$s(B)$B!#(B
<PRE>
Exception: <vector=UTLB Miss>
Status register: 0x300004803<CU1,CU0,IM4,IPL=???,MODE=KERNEL,EXL,IE>
Cause register: 0x8008<CE=0,IP8,EXC=RMISS>
Exception PC: 0x881385cc, Exception RA: 0x88002614
exception, bad address: 0x47c4
Local I/O interrupt register 1: 0x80 <VR/GIO2>
Saved user regs in hex (&gpda 0xa8740e48, &_regs 0xa8741048):
arg: 7 8bfff938 8bfffc4d 880025dc
tmp: 8818c14c 8818c14c 10 881510c4 14 8bfad9e0 0 48
sve: 8bfdf3e8 8bfffc40 8bfb2720 8bfff938 a8747420 9fc56394 0 9fc56394
t8 48 t9 8bfffee66 at 1 v0 0 v1 8bfff890 k1 bad11bad
gp 881dfd90 fp 9fc4be88 sp 8bfff8b8 ra 88002614
PANIC: Unexpected exception
</PRE>
$B$3$NLdBj$O%P!<%8%g%s(B 2.7 $B0J9_$N(B Binutils
$B$N$^$@D>$C$F$$$J$$%P%0$N$?$a$K5/$-$^$9!#EvLL$N2sHr:v$O!"(B
arch/mips/Makefile $B$N(B</P>
<P>
<PRE>
LINKFLAGS = -static -N
</PRE>
</P>
<P>$B$H$$$&9T$r!"2<5-$N$h$&$K=$@5$7$F$/$@$5$$!#(B</P>
<P>
<PRE>
LINKFLAGS = -static
</PRE>
</P>
<H3>Indy $B$N%+!<%M%k%V!<%H$,<!$N$h$&$J(B PROM $B%(%i!<%a%C%;!<%8$G<:GT$9$k(B</H3>
<P>
<PRE>
>> boot bootp()/vmlinux
73264+592+11520+331680+27848d+3628+5792 entry: 0x8df9a960
Setting $netaddres to 192.168.1.5 (from server deadmoon)
Obtaining /vmlinux from server deadmoon
Cannot load bootp()/vmlinux
Illegal f_magic number 0x7f45, expected MIPSELMAGIC or MIPSEBMAGIC.
</PRE>
$B$3$NLdBj$O(B Indy $B$N$H$F$b8E$$HG$N(B PROM $B$G$O!"(BLinux $B$N;H$&(B ELF
$B%P%$%J%j%U%)!<%^%C%H$r07$&$3$H$,=PMh$J$$$?$a$KH/@8$7$^$9!#(B
$B$3$NLdBj$N2r7h$O!"8=:_:n6HCf$G$9!#(B</P>
<H3>IP22 $B%"!<%-%F%/%A%c$N%^%7%s$,(B ethernet $B%"%I%l%9$rK:$l$F$7$^$$$^$9!#(B</H3>
<P>IP22 $B%"!<%-%F%/%A%c$G$O!"(BDallas DS1286 RTC $B%A%C%W$r;~9o$H%U%!!<%`%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3>
<P>SNI $B$N%7%9%F%`$O%S%C%0$H%j%H%k$NN>%(%s%G%#%"%s$GF0:n2DG=$G$9!#8=;~E@$G$O(B
Linux/MIPS $B$O%j%H%k%(%s%G%#%"%s$N%U%!!<%`%&%'%"$N$_$r%5%]!<%H$7$F$$$^$9!#(B
$B$3$l$O$"$k0UL#$GIT9,$J$3$H$G!"(BSNI $B$O(B Windows NT
$B$N%5%]!<%H$r$d$a$?$?$a!"%j%H%k%(%s%G%#%"%s$N%U%!!<%`%&%'%"$r$3$3$7$P$i$/=P2Y$7$F$$$^$;$s!#(B</P>
<P>$B%S%C%0%(%s%G%#%"%s%b!<%I$GF0$+$7$?>l9g!"%U%!!<%`%&%'%"$O4{$K%5%]!<%H$5$l$F$$$k(B
SGI Indy $B$K;w$?$b$N$G$9$N$G!"(BSNI $B%5%]!<%H$r=$@5$9$k$N$OB?J,Hf3SE*MF0W$G$9!#(B
$B6=L#$N$"$k%O%C%+!<$O(B
<A HREF="mailto:ralf@gnu.org">Ralf Bächle (ralf@gnu.org)</A>
$B$^$GO"Mm$/$@$5$$!#(B</P>
<H3>ld $B$,(B signal 6 $B$G;`$K$^$9(B</H3>
<P>
<PRE>
collect2: ld terminated with signal 6 [Aborted]
</PRE>
$B$3$l$O8E$$(B binutils $B$N4{CN$N%P%0$G$9!#>/$J$/$H$b(B binutils 2.8.1
$B0J9_$H:G?7$N%Q%C%A$NAH$_9g$o$;$K%"%C%W%0%l!<%I$9$kI,MW$,$"$j$^$9!#(B</P>
<H3>$B0lIt$NHG$N(B PROM $B$K(B ELF $B%5%]!<%H$,$J$$LdBj(B</H3>
<P>$B8E$$HG$N(B IP22 PROM $B$O(B Linux $B%+!<%M%k$N;H$&(B ELF $B%U%)!<%^%C%H$rCN$i$:!"(B
Linux $B$,D>@\%V!<%H$G$-$^$;$s!#(B
$B$3$NLdBj$KEv$?$k$H!"0J2<$N$h$&$J%(%i!<%a%C%;!<%8$K$J$j$^$9!#(B
<PRE>
>> boot -f linux root=/dev/sda1
Cannot load scsi(0)disk(1)rdisk(0)partition(8)/linux.
Illegal f_magic number 0x7f45, expected MIPSELMAGIC or MIPSEBMAGIC.
Unable to load linux: ``linux'' is not a valid file to boot.
>>
</PRE>
$B$3$NLdBj$NK>$^$7$$2r7h:v$O$b$A$m$s(B PROM $B$N%"%C%W%0%l!<%I$G$9$,!"$9$Y$F$N%7%9%F%`$GDs6!$5$l$F$$$k$o$1$G$O$"$j$^$;$s!#(B</P>
<P>$BBeBX<jCJ$H$7$F!"(BIrix 5 $B0J9_$N(B Sash $B$r%+!<%M%k$r(B
$B%V!<%H$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(BSash $B$O(B ELF
$B%P%$%J%j$r%m!<%I$9$k$d$jJ}$rCN$C$F$*$j!"$=$l$,(B IRIX $B$N%+!<%M%k$+(B Linux
$B$N%+!<%M%k$+$r5$$K$7$^$;$s!#(BPROM $B%b%K%?$G(B ``Sash'' $B$HBG$C$F$/$@$5$$!#(B
$BJL$N%7%'%k%W%m%s%W%H$,$G$?$J$i!"$=$l$,(B Sash $B$+$i$N%W%m%s%W%H$G$9!#(B
$B8e$OIaDLDL$j(B Linux $B$r5/F0$7$F$/$@$5$$!#(B</P>
<P>Sash $B$O(B EFS $B$H(B XFS
$B%U%!%$%k%7%9%F%`$rFI$a!"(Bbootp / tftp $B$G%+!<%M%k$rFI$`$3$H$b$G$-$^$9!#(B</P>
<P>$B%+!<%M%k%=!<%9$H6&$KG[I[$5$l$F$$$k(B elf2ecoff $B%D!<%k$r;H$C$F(B ELF $B%P%$%J%j$r(B
ECOFF $B7A<0$KJQ49$9$k$3$H$b$G$-$^$9!#$^$?$O!"%+!<%M%k$N%S%k%I;~$KC1$K(B
``make vmlinux.ecoff'' $B$H$9$k$3$H$G(B ECOFF $B7A<0$N%+!<%M%k$r:n@.$G$-$^$9!#(B</P>
<H3>$B%M%C%H%V!<%H$r;n$_$F$$$k$s$G$9$,!";d$N%^%7%s$O%+!<%M%k$r%@%&%s%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C $B4D6-JQ?t(B <EM>console</EM> $B$r(B <EM>d1</EM>
$B$+(B <EM>d2</EM> $B$N$I$A$i$+(B
($B%3%s%=!<%k$H$7$F;H$*$&$H$7$F$$$k%7%j%"%k%$%s%?!<%U%'!<%9B&(B)
$B$K@_Dj$7$F$/$@$5$$!#(B</P>
<P>$B%V!<%H;~$K!"A4$F$N%+!<%M%k%a%C%;!<%8$,%7%j%"%k%3%s%=!<%k$K8=$l!"(B
init $B$,F0$-=P$7$?;~E@$+$i2?$b=P$J$/$J$k$H$$$&LdBj$K=P$/$o$7$?$N$J$i!"(B
$BB?J,$"$J$?$N(B /dev/console $B$N@_Dj$,4V0c$C$F$$$k$N$G$7$g$&!#(B
$B%+!<%M%k%=!<%9$r%$%s%9%H!<%k$7$F$$$k$J$i(B Linux $B%+!<%M%k%=!<%9$N(B
/usr/src/linux/Documentation/serial-console.txt $B$K>\$7$$>pJs$,$_$D$+$j$^$9!#(B</P>
<H3>SGI $B$N5!<o$G!"M-8z$J%a%b%jNL$,JQ$G$9(B</H3>
<P>$B%V!<%H;~$K(B Indy
$B$N%+!<%M%k$OM-8z$J%a%b%jNL$r<!$N$h$&$J%a%C%;!<%8$GI=<($7$^$9!#(B
<PRE>
Memory: 27976k/163372k available (1220k kernel code, 2324k data)
</PRE>
$B:G=i$N(B 2 $B$D$N?t;z$,Bg$-$/0c$&$N$O!"(BIndy $B$N%a%b%j%"%I%l%96u4VFb$K$O@hF,$N(B
128MB $B$,%$%a!<%8$H$7$F8=$l$k$?$a$G$9!#$3$N(B 2 $B$D$N?t;z$N0c$$$O$3$N$?$a(B
$BBgBN(B 128MB $B$0$i$$$G!"2?$+$NLdBj$r<($7$F$$$k$o$1$G$O$"$j$^$;$s!#(B
$B%+!<%M%k(B 2.3.23 $B$+$i$O$3$N(B 128MB $B$N:9$O?t$($i$l$J$$$h$&$K$J$C$F$$$^$9!#(B</P>
<H3>Indy PROM $B4XO"$NLdBj(B</H3>
<P>$B0lIt$N?M$?$A$,!"%^%7%s$rJ]<i%Q!<%DEy$G%"%C%W%0%l!<%I$7$?8e$K$3$NLdBj$rJs9p$7$F$$$^$9!#(B
Indy $B$N(B PROM $B$K$O!"2?<oN`$+$NHG$,$"$j$^$9!#8E$$(B PROM
$BHG$N%^%7%s$G?7$7$$<oN`$N(B CPU $B$K%"%C%W%0%l!<%I$7$?>l9g!"Nc$($P(B
R4600SC $B$r(B R5000SC
$B%b%8%e!<%k$K$9$k$J$I$7$?>l9g!"<!$N$h$&$J%a%C%;!<%8$r=P$7$F%;%k%U%F%9%H$,%/%i%C%7%e$7$^$9!#(B
<PRE>
Exception: <vector=Normal>
Status register: 0x30004803<CU1,CU0,IM7,IM4,IPL=???,MODE=KERNEL,EXL,IE>
Cause register: 0x4000<CE=0,IP7,EXC=INT>
Exception PC: 0xbfc0b598
Interrupt exception
CPU Parity Error Interrupt
Local I/O interrupt register 1: 0x80 <VR/GIO2>
CPU parity error register: 0x80b<B0,B1,B3,SYSAD_PAR>
CPU parity error: address: 0x1fc0b598
NESTED EXCEPTION #1 at EPC: 9fc3df00; first exception at PC: bfc0b598
</PRE>
$B$3$N>l9g!"%^%7%s$N(B PROM $B$r?7$7$$HG$K%"%C%W%0%l!<%I$9$k$+!"8E$$(B
CPU $B$KLa$9I,MW$,$"$j$^$9(B ($BDL>o(B R4000SC $B$H(B R4400SC
$B%b%8%e!<%k$OF0$/$O$:$G$9(B)$B!#$O$C$-$j8@$C$F$*$-$^$9$,!"$3$NLdBj$O(B Linux
$B$H$OL54X78$G$9!#$3$3$G$3$l$r<h$j>e$2$F$$$k$N$O4v?M$+$N(B Linux
$B%f!<%6$,$3$l$K$D$$$F<ALd$r=P$7$F$$$?$+$i$G$9!#(B</P>
<H3>$B;d$N(B Indy $B$G%a%b%j$,$3$s$J$K%7%9%F%`$G;H$o$l$F$7$^$&$N$O$J$<!)(B</H3>
<P>$B%V!<%H;~$K(B Indy $B$N(B `Memory: ...' $B%a%C%;!<%8$O(B 128 MB
$B$N%a%b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9$kI,MW$O$J$$$G$7$g$&!#(B</P>
<H2><A NAME="ss10.4">10.4</A> <A HREF="MIPS-HOWTO.html#toc10.4">$B%m!<%@%V%k%b%8%e!<%k(B</A>
</H2>
<P>Linux/MIPS $B$G%b%8%e!<%k$r;H$&$N$O<B$K4JC1$G$9!#B>$N(B Linux
$B%7%9%F%`$N%b%8%e!<%k5!G=$r;H$C$F$$$??M$,4|BT$9$k$H$*$j$KF0$-$^$9!#(B
$B%b%8%e!<%k$r;H$C$?%7%9%F%`$rAv$i$;$?$$>l9g!">/$J$/$H$b(B 980919
$BHG0J9_$N%+!<%M%k$H!"%P!<%8%g%s(B 2.1.121 $B$h$j?7$7$$(B modutils
$B$r;H$C$F$/$@$5$$!#$3$l$h$j8E$$$b$N$OF0$-$^$;$s!#(B</P>
<H2><A NAME="ss10.5">10.5</A> <A HREF="MIPS-HOWTO.html#toc10.5">$B%/%m%9%3%s%Q%$%i4D6-$N9=C[J}K!(B</A>
</H2>
<H3>$BF~<j$G$-$k%P%$%J%j(B</H3>
<P>$B%/%m%9%3%s%Q%$%i4D6-$r9=C[$9$k0lHV$d$5$7$$J}K!$O!"%P%$%J%j$r(B
<A HREF="ftp://ftp.linux-mips.org/pub/linux/mips/crossdev/">ftp://ftp.linux-mips.org/pub/linux/mips/crossdev/</A> $B$+$i%@%&%s%m!<%I$7$F$/$k$3$H$G$9!#(B
$B??LLL\$JOC!"(BLinux/MIPS $B$N(B 8 $BG/$NNr;K$+$i!"(BLinux/MIPS
$B$GB?$/$N%f!<%6$,D>LL$9$k:GBg$NLdBj$,$3$l$G$"$k$H$$$&$3$H$,L@$i$+$K$J$C$F$$$^$9!#(B
Linux/i386 $BMQ$N%S%C%0%(%s%G%#%"%s%?!<%2%C%H8~$1$N%Q%C%1!<%8$O<!$N$b$N$G$9!#(B
<PRE>
binutils-mips-linux-2.13.2.1-1.i386.rpm
egcs-c++-mips-linux-1.1.2-4.i386.rpm
egcs-g77-mips-linux-1.1.2-4.i386.rpm
egcs-libstdc++-mips-linux-2.9.0-4.i386.rpm
egcs-mips-linux-1.1.2-4.i386.rpm
egcs-objc-mips-linux-1.1.2-4.i386.rpm
</PRE>
$B$=$7$F!"<!$,%j%H%k%(%s%G%#%"%s8~$1$N%Q%C%1!<%8$N%j%9%H$G$9!#(B
<PRE>
binutils-mipsel-linux-2.13.2.1-1.i386.rpm
egcs-c++-mipsel-linux-1.1.2-4.i386.rpm
egcs-g77-mipsel-linux-1.1.2-4.i386.rpm
egcs-libstdc++-mipsel-linux-2.9.0-4.i386.rpm
egcs-mipsel-linux-1.1.2-4.i386.rpm
egcs-objc-mipsel-linux-1.1.2-4.i386.rpm
</PRE>
64-bit MIPS $B%+!<%M%k8~$1$K$O!"8=:_Fs$D$N%Q%C%1!<%8$N$_$,F~<j$G$-$^$9!#(B
<PRE>
egcs-mips64-linux-1.1.2-4.i386.rpm
</PRE>
$B$H!"%j%H%k%(%s%G%#%"%s(B 64 bit $B%7%9%F%`8~$1(B
<PRE>
egcs-mips64el-linux-1.1.2-4.i386.rpm
</PRE>
$B$G$9!#(B</P>
<P>$B$3$l$i$NA4It$r%$%s%9%H!<%k$9$kI,MW$O$J$/!"KX$I$N?M$O(B C++$B!"(BObjective C
$B$H(B Fortran 77 $B$N3F%3%s%Q%$%i$O>JN,$7$F$h$$$G$7$g$&!#(B
Intel $BHG$N%P%$%J%j$O(B GNU libc 2.2 $B$K%j%s%/$5$l$F$$$k$N$G!"(B
$B%"%C%W%0%l!<%I$9$k:]$K$O$3$l$b%$%s%9%H!<%k$9$kI,MW$,$"$k$G$7$g$&!#(B</P>
<H3>$B$*$9$9$a$N%3%s%Q%$%i$N%P!<%8%g%s(B</H3>
<P> </P>
<H3>Binutils</H3>
<P>$B$*4+$a$J$N$O!"(Bbinutils 2.13.2.1 $B$G$9!#(B</P>
<H3>gcc</H3>
<P>2003-05-16 $B$h$jA0$N(B Linux 2.4 $B%+!<%M%k$r%3%s%Q%$%k$9$k$N$K:GDcI,MW$J(B gcc
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g%s$GF1$8%3%s%Q%$%i$r;H$&I,MW$O$J$$$3$H$KN10U$/$@$5$$!#(B
$BF1$8%3%s%Q%$%i$r;H$&I,MW$,$"$k$N$O!"$9$Y$F$N(B C++ $B%3!<%I$KBP$7$F$N$_$G$9!#(B</P>
<H3>glibc</H3>
<P>$B$3$NJ8=q$G$O$^$@(B glibc 2.0.6 $B$r%S%k%I$9$kJ}K!$r:N$j>e$2$F$$$^$9$,!"$3$l$O$b$&?75,%W%m%8%'%/%H$K$O?d>)$G$-$^$;$s!#(B
$B%P%$%J%j%5%$%:$N$?$a$K(B glibc 2.0.6 $B$r8!F$$7$F$$$?%f!<%6$O!"(BucLibc
$B$rBe$o$j$K8!F$$/$@$5$$!#%3%s%Q%$%i$r%S%k%I$9$k$@$1$,L\E*$J$i!"(Bglibc
$B$r%/%m%9%3%s%Q%$%i4D6-$K%$%s%9%H!<%k$9$kI,MW$O$"$j$^$;$s!#(B</P>
<H3>uClibc</H3>
<P>uClibc $B$O$H$F$b>.$5$J(B libc $B$NCV$-49$($G!"(B
<A HREF="http://www.uclibc.org">http://www.uclibc.org</A>
$B$+$iF~<j$G$-$^$9!#(BMIPS $B8~$1$N$b$N$O!"(B
<A HREF="ftp://ftp.realitydiluted.com/linux/MIPS/toolchains">ftp://ftp.realitydiluted.com/linux/MIPS/toolchains</A> $B$K$"$j$^$9!#(B</P>
<H3>$B<+J,$G%/%m%9%3%s%Q%$%i$r:n@.$9$k(B</H3>
<P>$B:G=i$K<!$N%=!<%9%Q%C%1!<%8$r%@%&%s%m!<%I$7$F$-$F$/$@$5$$!#(B
<UL>
<LI>binutils-2.13.2.1.tar.gz</LI>
<LI>egcs-1.1.2.tar.gz</LI>
<LI>glibc-2.0.6.tar.gz</LI>
<LI>glibc-crypt-2.0.6.tar.gz</LI>
<LI>glibc-localedata-2.0.6.tar.gz</LI>
<LI>glibc-linuxthreads-2.0.6.tar.gz</LI>
</UL>
$B$3$l$i$N%Q%C%1!<%8$O$*9%$_$N(B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$3$NI=8=$r;H$($P!"(BLinux/MIPS $B$N@_Dj$NL>A0$O(B
$B%S%C%0%(%s%G%#%"%s8~$1$K$O(B mips-unknown-linux-gnu
$B$G!"%j%H%k%(%s%G%#%"%s8~$1$K$O(B mipsel-unknown-linux-gnu
$B$G$9!#$3$NFs$D$NL>A0$OB?>/D9$$$?$a!"=g$K(B
mips-linux $B$H(B mipsel-linux $B$H$$$&>JN,7A$,5v$5$l$F$$$^$9!#(B
$B%/%m%9%3%s%Q%$%k;~$N3F%Q%C%1!<%8$N%$%s%9%H!<%k$G$O!"A4%Q%C%1!<%8$KF1$8L>A0$r(B
<I>$B;H$o$J$1$l$P$$$1$^$;$s(B</I>$B!#(B
$B$^$?!"B>$NL>A0!"Nc$($P(B mips-sni-linux $B$d(B mipsel-sni-linux
$B$b@5$7$$@_DjL>$G$9$,!"(Bmips-linux $B$H(B mipsel-linux $B$N$[$&$r;H$C$F$/$@$5$$!#(B
$B$3$l$i$NL>A0$O(B Linux $B%+!<%M%k%=!<%9$J$I$NB>$N%Q%C%1!<%8$G$b;H$C$F$$$^$9$N$G!"(B
$B>e5-$NFs$D0J30$N$b$N$r;H$&$H%/%m%9%3%s%Q%$%k;~$KJQ99$r9T$&I,MW$,=P$F$-$^$9!#(B</P>
<P>$B0J2<$G$O%?!<%2%C%H$N@_Dj$K;H$&L>A0$O(B <target> $B$H8F$S$^$9!#(B</P>
<H3>GNU Binutils $B$N%$%s%9%H!<%k(B</H3>
<P>$B$3$3$O:G=i$N!":G$b$d$5$7$$ItJ,$G$9(B ($B>/$J$/$H$bB?>/$O??$CEv$J(B UNIX $B7O$N(B OS
$B>e$G%$%s%9%H!<%k$7$h$&$H$7$F$$$k>l9g$K$O!"$G$9$,(B)$B!#(B
$B==J,$J6u$-MFNL$N$"$k%G%#%l%/%H%j$K(B cd $B$7$F!"<!$N=hM}$r9T$C$F$/$@$5$$!#(B
<PRE>
gzip -cd binutils-<version>.tar.gz | tar xf -
cd binutils-<version>
patch -p1 <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glibc $B$N%3%s%Q%$%k$,$G$-$J$$$N$G$9!#(B
$B$"$j$,$?$$$3$H$K!"$3$l$rFMGK$9$kI,MW$,$"$k$N$O!"(B
$B%/%m%9%3%s%Q%$%i$r:n$k:G=i$N0l2s$@$1$G$9!#(B
$B$3$N8e(B glibc $B$r%$%s%9%H!<%k$7=*$($?$i!"J*;v$O$:$C$H%9%`!<%:$K9T$-$^$9!#(B
$B$G$O!"9T$-$^$7$g$&!#(B
<PRE>
gzip -cd egcs-1.1.2.tar.gz | tar xf -
cd egcs-<version>
patch -p1 < ../egcs-1.1.2-mips.patch
./configure --prefix=<prefix> --with-newlib --target=<target>
make SUBDIRS="libiberty texinfo gcc" ALL_TARGET_MODULES= \
CONFIGURE_TARGET_MODULES= INSTALL_TARGET_MODULES= LANGUAGES="c"
</PRE>
$B?5=E$K!"(Bgcov$B!"(Bprotoize$B!"(Bunprotoize $B$H%i%$%V%i%j$O:n$i$J$$$h$&$K?J$a$^$9!#(B
gcov $B$O%/%m%9%3%s%Q%$%i4D6-$G$O0UL#$r$J$7$^$;$s$7!"(Bprotoize $B$H(B unprotoize
$B$O(B gcc $B$N(B makefile
$B$N%P%0$N$?$a!"4{B8$N<+%^%7%sMQ$N%W%m%0%i%`$r>e=q$-$7$F$7$^$&$+$b$7$l$^$;$s!#(B
$B:G8e$K!"%i%$%V%i%j$O(B glibc
$B$,$^$@%$%s%9%H!<%k$5$l$F$$$J$$$?$a!":n@.$G$-$^$;$s!#(B
$B$9$Y$F$&$^$/$$$C$?$i!"<!$N$h$&$K%$%s%9%H!<%k$7$F$/$@$5$$!#(B
<PRE>
make SUBDIRS="libiberty texinfo gcc" INSTALL_TARGET_MODULES= \
LANGUAGES="c" install
</PRE>
$B%+!<%M%k$r:n@.$9$k$?$a$N%/%m%9%3%s%Q%$%i$,$[$7$$$@$1$J$i!"$3$3$G=*N;$G$9!#(B
libc $B$N%/%m%9%3%s%Q%$%k$O!"%f!<%6%"%W%j%1!<%7%g%s$r%/%m%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glibc-2.0.6
gzip -cd glibc-crypt-2.0.6.tar.gz | tar xf -
gzip -cd glibc-localedata-2.0.6.tar.gz | tar xf -
gzip -cd glibc-linuxthreads-2.0.6.tar.gz | tar xf -
patch -p1 < ../glibc-2.0.6-mips.patch
mkdir build
cd build
CC=<target>-gcc BUILD_CC=gcc AR=<target>-ar RANLIB=<target>-ranlib \
../configure --prefix=/usr --host=<target> \
--enable-add-ons=crypt,linuxthreads,localedata --enable-profile
make
</PRE>
$B$3$l$G%3%s%Q%$%k:Q$_$N(B GNU libc
$B$,$G$-$^$7$?$,!"$^$@%$%s%9%H!<%k$9$kI,MW$,$"$j$^$9!#(B
$B$3$3$GC1$K(B make install $B$H(B <I>$BBG$C$F$O$$$1$^$;$s(B</I>$B!#(B
$B$3$l$r$d$k$H%[%9%H%^%7%s$N%7%9%F%`%U%!%$%k$,(B Linux/MIPS
$B8~$1$N%U%!%$%k$KCV$-49$o$C$F!"GK2uE*$J7k2L$K$J$j$^$9!#(B
$B$=$&$G$O$J$/!"(BGNU libc $B$r$I$3$+B>$N$I$3$+$N%G%#%l%/%H%j(B
<somedir> $B$K0lC6%$%s%9%H!<%k$7$F!"$=$3$+$i%/%m%9%3%s%Q%$%k$KI,MW$K$J$kItIJ$r<B:]$N%?!<%2%C%H%G%#%l%/%H%j$K0\F0$7$^$9!#(B
<PRE>
make install_root=<somedir> install
</PRE>
$B$3$3$G!"(B<somedir> $B$K(B cd $B$7$F!":G8e$K(B GNU libc $B$r<jF0$G%$%s%9%H!<%k$7$^$9!#(B
<PRE>
cd usr/include
find . -print | cpio -pumd <prefix>/<target>/include
cd ../../lib
find . -print | cpio -pumd <prefix>/<target>/lib
cd ../usr/lib
find . -print | cpio -pumd <prefix>/<target>/lib
</PRE>
GNU libc $B$K$O>\$7$$%*%s%i%$%s%I%-%e%a%s%H$,4^$^$l$F$$$^$9!#(B
$B$"$J$?$N%7%9%F%`$K$O4{$K$3$N%I%-%e%a%s%H$N$I$l$+$NHG$,4^$^$l$F$$$k$G$7$g$&$+$i!"$b$7(B
info $B%Z!<%8$r%$%s%9%H!<%k$7$?$/$J$$>l9g(B (1MB $B<e@aLs$G$-$^$9(B)
$B$d!"4{$K%$%s%9%H!<%k$5$l$F$$$k>l9g$K$O!"<!$N<j=g$rHt$P$7$F$/$@$5$$!#(B
<PRE>
cd ../info
gzip -9 *.info*
find . -name \*.info\* -print | cpio -pumd <prefix>/info
</PRE>
$B%V!<%H%9%H%i%C%W$7$J$$?M$O!"$3$3$G%$%s%9%H!<%k$O$*$7$^$$$G$9!#(B</P>
<H3>egcs $B$N:F:n@.(B</H3>
<P>$B:G=i$N(B egcs $B$N:n@.$O(B GNU libc $B$,L5$$$?$aESCf$G;_$^$C$F$$$^$7$?!#:#$O(B
libc $B$b%$%s%9%H!<%k$7$F$"$k$N$G!"$3$3$G(B egcs $B$N:F:n@.$r9T$($^$9!#(B
$B:#2s$O%/%m%9%3%s%Q%$%i$H$7$F40A4$J%$%s%9%H!<%k$,$G$-$^$9!#(B
<PRE>
gzip -cd egcs-<version>.tar.gz | tar xf -
cd egcs-<version>
patch -p1 < ../egcs-1.1.2-mips.patch
./configure --prefix=<prefix> --target=<target>
make LANGUAGES="c c++ objective-c f77"
</PRE>
$B8+$?$H$*$j!"<j=g$O:G=i$N;~$HKX$IF1$8$G$9$,!":#2s$O(B --with-newlib
$B%*%W%7%g%s$O>JN,$7$^$9!#$3$N%*%W%7%g%s$O(B libgcc
$B$N%S%k%I$,(B libc
$B$,L5$$$3$H$GMn$A$k$N$rKI$0$?$a$KI,MW$G$7$?!#%$%s%9%H!<%k$O<!$N$h$&$K$7$^$9!#(B
<PRE>
make LANGUAGES="c c++ objective-c f77" install
</PRE>
$B$5$F!"KX$I40N;$G$9!#$b$7(B Objective C $B$d(B F77
$B%3%s%Q%$%i$,ITMW$J$i!">e5-$N%3%^%s%I$+$i>J$/$3$H$,$G$-$^$9!#3F!9(B 3MB
$B0L$N@aLs$K$J$j$^$9!#(Bgcov$B!"(Bprotoize $B$H(B unprotoize $B$O:n@.$7$J$$$G$/$@$5$$!#(B</P>
<H3>C++$B!"(BObjective C $B$d(B F77 $B%3%s%Q%$%i$r:n@.$9$Y$-$G$7$g$&$+!)(B</H3>
<P>$B$3$NEz$($O!"%/%m%9%3%s%Q%$%i4D6-$NL\E*$KBg$-$/0MB8$7$^$9!#(B
$B$b$7$"$J$?$,(B Linux $B%+!<%M%k$r:F:n@.$9$k$3$H$@$1$r9M$($F$$$k$J$i!"2?$b$+$b$N%;%C%H%"%C%W$r?J$a$kI,MW$O$J$/!"(BObjective C
$B$H(B F77 $B%3%s%Q%$%i$O>J$$$F$bLdBj$J$$$G$7$g$&!#C"$7!"(BC++
$B%3%s%Q%$%i$r:n@.$9$kI,MW$O$"$j$^$9!#$3$l$O(B egcs
$B%G%#%9%H%j%S%e!<%7%g%s$K4^$^$l$k%i%$%V%i%j$r:n@.$9$k$K$O(B C++ $B$,I,MW$J$?$a$G$9!#(B </P>
<H3>$B%/%m%9%3%s%Q%$%k$G$N4{CN$NLdBj(B</H3>
<H3>IRIX $B$,%/%i%C%7%e$9$k(B</H3>
<P>Origin 200 $B$G(B IRIX 6.5.1 $B$rAv$i$;$F$$$k>l9g!"(BLinux
$B%+!<%M%k%=!<%9$+$i(B “make depend”
$B$r<B9T$9$k$H%/%i%C%7%e$9$k$3$H$,$"$j$^$9!#(B
Indy $B>e$N(B IRIX 6.5 $B$H(B Origin 200 $B$N(B IRIX 6.5.4
$B$OF0$/$3$H$,J,$+$C$F$$$^$9!#(B</P>
<H3>System V $B7O$N%[%9%H$G$N%j%=!<%9@)8B(B</H3>
<P>System V $B7O$N(B Unix $B%7%9%F%`!"Nc$($P(B IRIX $B$d(B Solaris
$B$K$O;R%W%m%;%9$KEO$;$k0z?t$N8D?t$K@)8B$,$"$j!"$3$N@)8B$r(B Linux $B%+!<%M%k$d(B
GNU libc $B$N%/%m%9%3%s%Q%$%k;~$KD6$($F$7$^$&$3$H$,$"$j$^$9!#(B
IRIX $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