Login

logo6


GCC 4.3 cross-compiler for 6809 Download

Description:
6809-GCC for Haiku
Compiled by PulkoMandy/Shinra in 2010
What is it
The 6809 is an 8bit processor from Motorola. It looks like a small 68000.
This is a cross compiler to build C applications for it under Haiku. It is based on GCC 4.3, and allows powerful optimizations of your code for this CPU.
I had some trouble getting the compiler to work so I thought I'd share it !
How to install it
Simply unzip the archive in /boot/apps. Other places MAY work but I didn't try.
How to use it
Really, it works like any other gcc. Note that I didn't test it much, so expect bugs. The target is a generic 6809 simulator, but linking doesn't seem to work anyway. You may have to hack around to get things working. Good luck !
How I built it
It's a gcc2 binary.
I got gmp and mpfr from haikuports and built mpc myself witohut any problems.
I had to replace @LIBICONV@ with -ltextencoding (didn't found a better wayy to do that) in gcc/, libdecnumber/ and libcpp/ Makefile.in files.
I had to define LIBRARY_PATH_ENV = "6809GCC_LIBS" in gcc config.h (likely it should be done somewhere else), because the default value LIBRARY_PATH conflicts with runtime loader in haiku. This var seems to be unused anyway, from what I could read about gcc cross_compilers…
Links
My homepage : http://pulkomandy.ath.cx
MPFR and GMP on HaikuPorts : http://ports.haiku-files.org/wiki/Downloads
MPC : http://www.multiprecision.org/index.php?prog=mpc&page=download
GCC (you need it if you want to build, as the 6809 version is distributed as a patch) : ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/
6809GCC : http://www.oddchange.com/gcc6809/ (have a look at it, there are some info on the options you can use and so)
File Date:
26 Jul 2010
Submitted By:
Adrien Destugues (PulkoMandaryne)
Submitted On:
26 Jul 2010
File Size:
4,067.80 Kb
Downloads:
6
License:
GPL
File Version:
4.3
File Author:
Adrien Destugues
File HomePage:
Click to visit site
Rating:
Total Votes:1

Search Files

Search For: 
Search File Titles: 
Search File Descriptions: 

The Largest BeOS/Haiku Software Repository