home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.larc.nasa.gov!grissom.larc.nasa.gov!kludge
- From: kludge@grissom.larc.nasa.gov (Scott Dorsey)
- Newsgroups: sci.electronics
- Subject: Re: C Cross Complier for 68HC11
- Date: 15 Oct 1992 16:41:29 GMT
- Organization: NASA Langley Research Center and Reptile Farm
- Lines: 27
- Message-ID: <1bk6vpINN7bc@rave.larc.nasa.gov>
- References: <1992Oct11.192854.11491@eng.ufl.edu> <1992Oct12.065939.3280@rtfm.mlb.fl.us> <1992Oct14.170149.6954@ntg.com>
- NNTP-Posting-Host: grissom.larc.nasa.gov
-
- In article <1992Oct14.170149.6954@ntg.com> dplatt@ntg.com (Dave Platt) writes:
- >>P S. I've always wondered if they had a way to use GNU's
- >>gcc as a cross compiler for embedded systems
- >
- >Try calling the folks at Cygnus Support (the people who provide
- >commercial-grade support for GNU tools, at a reasonable price) at
- >+1 415 322 3811. When I spoke with Rob Savoye at the Embedded Systems
- >Conference a few weeks ago, I mentioned that I'd love to see gcc for the
- >8051 family; he replied that a lot of the work needed to put gcc on
- >smaller-than-32-bit machines had already been done as part of another
- >project, and that it probably wouldn't be too hard to retarget the
- >compiler to produce code for embedded controllers. All it'd take is
- >money, from some customer who wanted to pay Cygnus to finish the port.
-
- It's not hard, but the code that it generates isn't all that good. I have
- seen the code produced by the Z-80 backend, and it's anything but clean.
- There are a lot of 32-bit dependancies in the compiler design which makes
- for rather inelegant 8-bit backends.
-
- While it's not impossible, and it might even be desireably from the standpoint
- of having the same compiler on all platforms, it's not the most efficient
- way to go. And, with most embedded systems (especially 8-bit boxes),
- efficiency is an important issue.
-
- Now, if you want an embedded 68020 in a system, gcc is definitely the way
- to go....
- --scott
-