From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21405 invoked by alias); 3 Oct 2005 11:00:23 -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 21376 invoked by uid 22791); 3 Oct 2005 11:00:16 -0000 Received: from students.iiit.ac.in (HELO students.iiit.net) (61.95.133.150) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 03 Oct 2005 11:00:16 +0000 Received: from students.iiit.net (localhost.localdomain [127.0.0.1]) by students.iiit.net (8.13.1/8.13.0) with ESMTP id j93B00Tp001838; Mon, 3 Oct 2005 16:30:00 +0530 Received: from localhost (kalyan_ch@localhost) by students.iiit.net (8.13.1/8.12.8/Submit) with ESMTP id j93AxxgY001791; Mon, 3 Oct 2005 16:29:59 +0530 Date: Mon, 03 Oct 2005 11:00:00 -0000 From: EMPEROR To: "Rajasekaran, Deepak (IE10)" cc: GCC Help Subject: Re: Can GCC be used for extracting comments (like Doxygen)? In-Reply-To: <77ED2BF75D59D1439F90412CC5B1097425985AAC@ie10-sahara.hiso.honeywell.com> Message-ID: References: <77ED2BF75D59D1439F90412CC5B1097425985AAC@ie10-sahara.hiso.honeywell.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IIITH-MailScanner-Information: Please contact the IIIT Server Room (111) for more information X-IIITH-MailScanner: Found to be clean X-IIITH-MailScanner-From: kalyan_ch@gdit.iiit.net X-SW-Source: 2005-10/txt/msg00011.txt.bz2 hi u may find this useful. Doxygen is a documentation system for C++, C, Java, Objective-C, Python, IDL (Corba and Microsoft flavors) and to some extent PHP, C#, and D. http://www.stack.nl/~dimitri/doxygen/ On Mon, 3 Oct 2005, Rajasekaran, Deepak (IE10) wrote: > I have many C files with Javadoc-style comments. Each statement contains a > comment before it. I need to generate documentation from this. I am looking > for a tool which takes the C files and generates a file from which the > documentation and the corresponding source code can be easily extracted > (i.e., more easily than by parsing the source code). > > I tried Ccdoc but it processes only header files. I tried Doxygen but it > loses the correspondence between the comments and source code. Is it > possible to use GCC for this purpose? > > Thanks in advance. > -- Both Optimists and pessimists contribute equally to the society Optimists invent aeroplanes and pessimists, parachutes