This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Motorola HC11 Back-end


"Curt Mills, WE7U" <hacker@tc.fluke.COM> wrote:

> I've collected several patches and suggestions into a gcc-2.8.1
> patch to add Motorola 68HC11 support.  These are available at:
> 
> 	http://www.eskimo.com/~archer
> or
>	ftp://ftp.eskimo.com/u/a/archer
> 
> I have also received permission from each of the authors to put their
> contributions under the GPL.  The patch is working for me with
> gcc-2.8.1 and for the limited work I've done with an MIT Handyboard.

 You seem to be reinventing the wheel...

 Please look at:
     http://home.worldnet.fr/stcarrez/m68hc11_port.html

for all the work Stephane Carrez has done. A clip from some time ago:

---------- clip ----------------
Last Modified: May 22, 1999 

This page gives a rough idea of how you can compile GCC for 68HC11. 

1. Compiling GCC

The 68HC11 port is available for two versions of GCC. Depending on the version
you want to use, you need to get the following files: 

With EGCS 1.1.2: 
     Compiler sources: EGCS 1.1.2 on Cygnus site. 
     M68HC11 port: egcs-1.1.2-m68hc11.diffs.gz 
With EGCS 19990502 (May 2nd, snaphshot): 
     Compiler sources: EGCS 19990502 on Cygnus site. 
     M68HC11 port (19990521): egcs-19990502-m68hc11-19990521.diffs.gz 
     Old: M68HC11 port (19990509): egcs-19990502-m68hc11.diffs.gz 
--------- clip -----------------

 Also GDB-4.18, newlib-1.8.1 and binutils-2.9.1 have been ported to m68hc11...

> I downloaded gcc-2.9.5 sources yesterday and built a native
> compiler, but after adding my m6811 directory under the config
> directory and attempting to build a cross-compiler, it fails
> miserably.  I am aware that the 2.9.5 version is now the EGCS
> compiler, but am currently at a loss as to how to proceed to port
> the HC11 stuff to it (I don't know what the major changes are from
> 2.8.1 to 2.9.5).

 Contacting Stephane might help you quite a lot...

 Cheers, Kai
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]