dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]gcc?


From: John
Subject: Re: [DotGNU]gcc?
Date: Sun, 05 Aug 2001 16:08:41 -0500

Keith Poole wrote:
> There is an alternative, the virtual machine in .NET compiles the IL
> into native machine code, so why couldn't the .GNU virtual machine use
> the gcc back-end to convert the IL?  This would give the advantage of
>  the good code generation of gcc, provide code generation for a host of
> machines in one go, and allow toold such as gdb, to be used to debug
> applications.  So the sequence of events to run a program is:
> 
> 1.  Write the code
> 2.  Compile into IL using the .GNU compiler
> 3.  Start execution
> 4.  The virtual machine converts the IL into RTL (Register Transfer
> Language), passes it to the gcc back-end and produces machine code.
> 5.  The produced code executes,

Stupid thought of the day #6635

I know zilch about GCC from any end other than as a user, but let me
suggest that it might be easier just to be passing RTL around the net?
IL would be passed around and compiled as you say, but our VM could use
RTL as a base?

How much work would it be to turn the GCC backend into a VM?

John Le'Brecage


reply via email to

[Prev in Thread] Current Thread [Next in Thread]