home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / sci / electron / 17181 < prev    next >
Encoding:
Internet Message Format  |  1992-10-15  |  1.9 KB

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