From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 985 invoked by alias); 26 Aug 2004 16:19:22 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 889 invoked from network); 26 Aug 2004 16:19:19 -0000 Received: from unknown (HELO NUTMEG.CAM.ARTIMI.COM) (217.40.111.177) by sourceware.org with SMTP; 26 Aug 2004 16:19:19 -0000 Received: from mace ([192.168.1.25]) by NUTMEG.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.0); Thu, 26 Aug 2004 17:17:03 +0100 From: "Dave Korn" To: "'Manoj Pillai'" , , Subject: RE: GCC Project Help ! Date: Thu, 26 Aug 2004 17:27:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: X-OriginalArrivalTime: 26 Aug 2004 16:17:03.0750 (UTC) FILETIME=[1FBCDA60:01C48B88] X-SW-Source: 2004-08/txt/msg00240.txt.bz2 > -----Original Message----- > From: gcc-owner On Behalf Of Manoj Pillai > Sent: 26 August 2004 17:05 > To: gcc-help; gcc > Subject: GCC Project Help ! > > > Hello Sir , > > I am Manoj Pillai , i am doing my Computer Engg. as a part > of Final Year > Project we hv been given a topic > > "Reverse Enggineering OF GCC Front End " Hey, that sounds fairly easy, given that the source code is publicly available! > And the as a inital part of The project , we hv been asked to > analysis , a > file called expr.c which converts the parse tree to RTL . > > It wouild be my pleasure , if u let me know abt how to go > about it. How to analyse a source file? Isn't that what the course you've been doing was supposed to teach you? Are you asking us to summarize all the lessons and lectures that you have been taught during your course? Or just to do your homework for you? > And is > there any site which could let em know abt the Data structure > used in GCC . You want to see the compiler internals documentation: http://gcc.gnu.org/onlinedocs/gccint/ That's the best explanation you'll get of the overall structure and operations of the compiler. The rest you have to understand by studying the source code and seeing how it works, what functions there are, looking at RTL dumps, running gcc under a debugger to see where the control flow goes and what it does when it's there, etc. etc. There are a lot of comments in the source code; they're not all entirely up-to-date or accurate, but most of the data structures in the source code have good comments to explain what they are for and what all the data members mean. > It would be also nice, if u could let me know any GCC > contributor would be > interested in Helping us or any other forum where we could > het assist from . You're on a university course. If you need some training in software engineering techniques, why not ask your tutors? They are supposed to be there to help you..... cheers, DaveK -- Can't think of a witty .sigline today....