From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14573 invoked by alias); 3 Oct 2005 10:35:40 -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 14566 invoked by uid 22791); 3 Oct 2005 10:35:39 -0000 Received: from az18nt142.honeywell.com (HELO az18nt142.honeywell.com) (199.64.7.142) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 03 Oct 2005 10:35:39 +0000 Received: from AZ18CN850.global.ds.honeywell.com ([131.127.167.137]) by az18nt142.honeywell.com with InterScan Messaging Security Suite; Mon, 03 Oct 2005 03:33:21 -0700 Received: from az18hb522.honeywell.com ([131.127.249.91]) by AZ18CN850.global.ds.honeywell.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 3 Oct 2005 03:35:35 -0700 Received: by az18hb522.allied.com with Internet Mail Service (5.5.2658.3) id ; Mon, 3 Oct 2005 03:35:35 -0700 Message-ID: <77ED2BF75D59D1439F90412CC5B1097425985AAC@ie10-sahara.hiso.honeywell.com> From: "Rajasekaran, Deepak (IE10)" To: GCC Help Subject: Can GCC be used for extracting comments (like Doxygen)? Date: Mon, 03 Oct 2005 10:35:00 -0000 MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2005-10/txt/msg00010.txt.bz2 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. -- Masatran (Rajasekaran Deepak)