Développer et télécharger des logiciels Open Source

Voir h8300-elf toolchain

Catégorie (Tag) arbre

déposer de l'information

Catégorie (Tag)
root
nom de fichier
toolchain
dernière mise à jour
2002-10-01 21:54
type
HTML
Editeur
佐藤 嘉則
description
h8300-elf toolchains from building eCos/RedBoot
langue
Anglais
Japonais
Traduire

Cross development environment building of a H8/300 ELF target for eCos

I cannot compile eCos with usual GCC. I explain making procedure of GCC which I can compile.

Supported Version

toolRequired VersionUsing Version
gcc3.1 or more3.1.1
binutils2.12 or more2.12.1
gdb5.2 or more5.2.1

gcc 3.2 does not support it for the time being.


building

Option of configure is same as h8300-hms.

binutils

$ tar xzf binutils-2.12.1.tar.gz
$ cd binutils-2.12
$ ./configure --target=h8300-elf
$ make
$ make install

gcc

$ tar xzf gcc-3.1.1.tar.gz
$ cd gcc-3.1
$ patch -p1 < gcc.diff
$ ./configure --target=h8300-elf --enable-languages='c,c++'
$ make
$ make install

I cannot compile it that I do not guess a patch right. Please build g++ with using it by all means.
There is not binary compatible nature with normal gcc. I do not understand what rises when I marged object.

gdb

$ tar xzf gdb-5.2.1.tar.gz
$ cd gcc-5.2
$ patch < gdb.diff
$ ./configure --target=h8300-elf
$ make
$ make install

It is an emulation patch of internal I/O peripheral. Required when testing a sim target.

Please acquire a patch from file release.


Using

Same as h8300-hms. However, recompile of a library is necessary because there is incompatibility of object file.


Others

An indistinct part please refer to all kinds of h8300-hms association document.

Yoshinori Sato
Last modified: Tue Oct 1 21:52:29 JST 2002