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