Re: Compiling to C (where C is used as misspelled assembly)

fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
25 May 1997 13:00:11 -0400

          From comp.compilers

Related articles
[11 earlier articles]
Re: Compiling to C (where C is used as misspelled assembly) cdg@nullstone.com (Christopher Glaeser) (1997-05-17)
Re: Compiling to C (where C is used as misspelled assembly) conway@mundook.cs.mu.OZ.AU (1997-05-22)
Re: Compiling to C (where C is used as misspelled assembly) conway@mundook.cs.mu.OZ.AU (1997-05-22)
Re: Compiling to C (where C is used as misspelled assembly) Dave@occl-cam.demon.co.uk (Dave Lloyd) (1997-05-22)
Re: Compiling to C (where C is used as misspelled assembly) partain@dcs.gla.ac.uk (Will Partain) (1997-05-22)
Re: Compiling to C (where C is used as misspelled assembly) fjh@mundook.cs.mu.OZ.AU (1997-05-25)
Re: Compiling to C (where C is used as misspelled assembly) fjh@mundook.cs.mu.OZ.AU (1997-05-25)
| List of all articles for this month |

From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
Newsgroups: comp.compilers
Date: 25 May 1997 13:00:11 -0400
Organization: Comp Sci, University of Melbourne
References: 97-05-183 97-05-197 97-05-259
Keywords: C, assembler, architecture

Will Partain <partain@dcs.gla.ac.uk> writes:


>GHC goes further than the other C-as-assembly efforts: it also
>*post-processes* the .s file from GCC -- done by the much-feared,
>much-hated "mangler" (written in Perl)! Things it tries to do:
>... utterly remove use of register windows (SPARC); ...


Yes, register windows are a pain for this sort of thing.
Fortunately gcc has an option to solve that now: `-mflat'.


--
Fergus Henderson <fjh@cs.mu.oz.au>
WWW: <http://www.cs.mu.oz.au/~fjh>
PGP: finger fjh@128.250.37.3
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.