This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc translator build with QT


Basile Starynkevitch wrote:
On Thu, 19 Jul 2012 13:23:40 +1000
Chris Jones <chrisjones@spin.net.au> wrote:

Is there any reason that I can't create a new front-end translator for
gcc using QT?
GCC being a free GPLv3 software, you could always fork it and do that. But I am not sure
to understand what you really are thinking of.

While current GCC is easily extensible thru plugins (or MELT extensions, see
http://gcc-melt.org/ for more), there is no plugin interface to add a new front-end (yet).

And Qt http://qt.nokia.com/  being mostly a graphical interface toolkit, I don't see how
it is relevant to a new front-end.

GCC has very deeply the idea that you compile compilation units (such as toplevel C
files) in whole by parsing some files.

Regards.

You might remember a while ago I was asking how to implement a new language support into gcc. And it was suggested to me by several people that implementing it via a front-end and translator would be the best way to go. I was thinking of using QT Designer and QDevelop. But before I even want to make a start, I just wanted to know whether QT would be the best for this. If there's a better solution or tool available, I'm open to suggestions.



Regards


--
		Chris Jones @ kernel.devproject@gmail.com
also on oracle.kerneldev@gmail.com and netbsd.kerneldev@gmail.com

OpenSUSE 12.1 (Primary)|TinyCore|Slitaz|Parabola|OpenIndiana|NetBSD (PC)
Android 4.0.3 (Smartphone)|Windows 7 (Laptop)|Windows XP (Gaming)
Linux kernel developer|Solaris kernel developer|BSD 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|DOSBox

PGP Fingerprint: 4E38 0776 B380 63C8 F64F
A7D6 736C CF56 42A4 FB35


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]