home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os9 / 1094 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!rutgers!network.ucsd.edu!sdcc12!sdcc3!jclark
  2. From: jclark@sdcc3.ucsd.edu (John Clark)
  3. Newsgroups: comp.os.os9
  4. Subject: Re: GCC OS-9 on a Sparcstation?
  5. Message-ID: <36295@sdcc12.ucsd.edu>
  6. Date: 30 Jul 92 02:32:24 GMT
  7. References: <firby.712341106@avarice.uchicago.edu>
  8. Sender: news@sdcc12.ucsd.edu
  9. Distribution: na
  10. Organization: University of California, San Diego
  11. Lines: 29
  12. Nntp-Posting-Host: sdcc3.ucsd.edu
  13.  
  14. In article <firby.712341106@avarice.uchicago.edu> firby@avarice.uchicago.edu (Jim Firby) writes:
  15. +I'm looking for the support code necessary for me to create a Gnu CC
  16. +that will run on my Sparcstation and create OS-9 modules that can be
  17. +downloaded to an embedded controller.
  18.  
  19. The support required is to develop a assembler and linker pair to
  20. take  GCC output and create OS-9 modules. The current 1.40 gcc
  21. 'native' compiler only generates OS-9 style assemble code, which is
  22. compatible with MOTOROLA syntax. The *NIX sun4 environment however
  23. only has 'gas' or sun 'as' which are both varients of MIT syntax. It
  24. is a non-trivial task to convert one to the other.
  25.  
  26. Furthermore, the sun tools expect BSD style a.out exec module format
  27. which is completely different from OS-9 exec module format.
  28.  
  29. However, probably a tool could be written to generate OS-9 exec
  30. modules form a.out. But then, the current gcc's on the sun3 generate
  31. 'Position Independent Code' badly, said to be fixed in the future.
  32. But then you have to fix up the variable reference stuff, but could
  33. probably use the native OS-9 source as a guide.
  34.  
  35. The most recent gcc is available on:
  36.  
  37. hermit.cs.wisc.edu
  38.  
  39. -- 
  40.  
  41. John Clark
  42. jclark@ucsd.edu
  43.