[sclug] gcc precompiled toolchain wanted

David Given dg at cowlark.com
Sun Jun 28 13:40:55 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to get a compiler for the h8300-elf architecture. So far I'm
having no luck.

h8300-elf is slightly exotic, and my usual source of precompiled gcc
toolchains, Emdebian, doesn't have one. (It's got a COFF version
instead, but I need ELF.)

The Debian toolchain build instructions didn't work the last time I
tried them. This time I didn't get far enough to find out whether they
work or not --- apparently you need a precompiled libc for your
architecture to be able to build a toolchain on Debian. Is there an
h8300 version available? Right. At least the binutils installation
procedure worked.

Building gcc-4.4.0 from scratch fails miserably; after hitting the
*third* consecutive known fails-to-build bug, I gave up and moved back
to gcc-4.3.3. I only found one fails-to-build bug on that, and after
fixing it finally managed to get a compiler that works.

Unfortunately it insists on pushing the resulting H8300 assembly files
through the Intel assembler, with hilarious results. *Despite* configure
correctly autodetecting that I already had h8300-elf-as installed.

Why is gcc such a pain in the arse to build? No, wait, don't answer
that. Instead: does anyone know of any easier way to get a working
compiler for this architecture?

- --
???? ?????????????? ????? http://www.cowlark.com ?????
?
? "They laughed at Newton. They laughed at Einstein. Of course, they
? also laughed at Bozo the Clown." --- Carl Sagan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpHcuQACgkQf9E0noFvlzg8gQCgnoUspC6c2SZmZY02Z28e/Sis
XSsAn3KM3Ws3bzH+02Xzf0fDD/Ce9+Df
=dJE3
-----END PGP SIGNATURE-----



More information about the Sclug mailing list