1. ดาวน์โหลดไฟล์ต่างๆตามนี้
* binutils-2.11.2
* gcc-2.95.3
* newlib-1.9.0
* gdb-5.2.1
* make
* perl
$ mkdir ~/toppers_env && cd toppers_env
$ mkdir ~/build && cd build
2. Compile and Install binutil
$ tar zxvf binutils-2.11.2.tar.gz && binutils-2.11.2
$ mkdir work && cd work
$ ../configure --target=h8300-hms --disable-nls --prefix=/opt/toppers_jsp
$ make
$ make install
$ ~/toppers_env/bin/h3800-hms-as -v
3. Compile and Install gcc
$ tar zxvf GCC.tar.gz && cd GCC
$ patch -p1 < ../gcc-2.95.3_01.patch
$ mkdir work && cd work
$ ../configure --target=h8300-hms --disable-nls --prefix=/opt/toppers_jsp \ --with-gnu-as --with-gnu-ld --with-newlib --enable-languages=c,c++ \ --with-headers=../../newlib-1.9.0/newlib/libc/include
$ make
$ make install
วันอังคาร, เมษายน 12, 2548
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น