一般論
組合せ
  gcc2 or gcc3
例題
  kuro-box
    binutils
    glibc
    gcc
    sample compile
      compile on Host
      open on target
  kernel
  NetBSD/macppc

Last Update: "2004/11/12 21:54:50 makoto"

kernel

make ARCH=ppc CROSS_COMPILE=powerpc--linux- zImage
..
powerpc--linux-gcc -D__KERNEL__ -I/export/linux/2424-work/linux2424/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/export/linux/2424-work/linux2424/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -DKBUILD_BASENAME=time -DEXPORT_SYMTAB -c time.c
time.c: In function `timer_interrupt':
time.c:208: error: structure has no member named `heartbeat_count'
time.c: In function `time_init':
time.c:362: error: `do_get_fast_time' undeclared (first use in this function)
time.c:362: error: (Each undeclared identifier is reported only once
time.c:362: error: for each function it appears in.)
make[1]: *** [time.o] Error 1
make[1]: Leaving directory `/export/linux/2424-work/linux2424/arch/ppc/kernel'
make: *** [_dir_arch/ppc/kernel] Error 2
[makoto@fedora linux2424]$
Last Update: Sat, 07 Jun 2014 13:16:17 GMT 1.66 2008/03/08