Re: gcc compiler modification to cater for new programming language

From: Chris Jones
Date: Tue Jun 12 2012 - 03:09:09 EST


Cong Wang wrote:
On Sun, Jun 10, 2012 at 10:02 AM, Chris Jones<chrisjones@xxxxxxxxxxx> wrote:
Is it possible to modify the source code of gcc to enable to compilation of
a completely new programming language, as yet unrecognized? How much of a
big job would I be looking at for such a task?
Yeah, you need to write a gcc front-end for it.



Why would you suggest writing a front-end for it? I think you're wrong there as a front-end has nothing to do with the functionality of gcc. Explain to me why you would suggest this? Curious.

I am aware it is off-topic and have also brought it up on the gcc mailing list, thanks.


Regards

--
Chris Jones

OpenSUSE Linux x86_64 (PC)|Android (Smartphone)|Windows x86 (Gaming!)
Kernel developer|Lead Developer of SDL|Lead Developer of Nest Linux|Gamer and Emulator nut|Web Services|Digital Imaging Services
Controllers: Rapier V2 Gaming mouse|Logitech Precision|PS3 controller|XB360 controller|Logitech Attack 3 j/stick
Emulators: Fusion|Gens|ZSNES|Project64|PCSX-R|Stella|WinVICE|WinUAE

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/