Article View: gnu.gcc.help
Article #53040gcc useful to compiler writers?
From: Daniel R. Grayson
Date: Sun, 22 Mar 1992 04:07
Date: Sun, 22 Mar 1992 04:07
7 lines
1095 bytes
1095 bytes
Is there an easy way to use the code generation and optimization phases of gcc to write a compiler for a new language, and port it to many architectures without knowing anything about any particular architecture, and without modifying or recompiling gcc itself? Perhaps there is a way for a compiler writer to generate machine-independent pseudo assembly code of some sort used by gcc in an intermediate stage, and feed it to the tail end of gcc. Does anyone know?
Technical Details
Message-ID:
<1992Mar22.040759.14777@ux1.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!danShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,b4018ad960b71453,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-03-22 19:53:40 PST Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!dan From: dan@math.uiuc.edu (Daniel R. Grayson) Newsgroups: gnu.gcc.help Subject: gcc useful to compiler writers? Message-ID: <1992Mar22.040759.14777@ux1.cso.uiuc.edu> Date: 22 Mar 92 04:07:59 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Reply-To: Daniel-Grayson@uiuc.edu Organization: University of Illinois at Urbana Lines: 7