From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32710 invoked by alias); 26 Feb 2007 09:50:52 -0000 Received: (qmail 32702 invoked by uid 22791); 26 Feb 2007 09:50:52 -0000 X-Spam-Check-By: sourceware.org Received: from an-out-0708.google.com (HELO an-out-0708.google.com) (209.85.132.247) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 26 Feb 2007 09:50:48 +0000 Received: by an-out-0708.google.com with SMTP id c10so764933ana for ; Mon, 26 Feb 2007 01:50:46 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=i5JAPsJQ+Z9bfrtkt7YH16WwzZQhpZHQ/7a9kw6g9kUfFlLxzbW+CZ+xRcdrnqW6//FVDeqSGI2jDKrfu4s2Xc9fHMs6RWLFN9wk/Ca5g8RIslD+ZOBeqCLnqtNEWmblV8ZI1GuOjwfjtxyW50exUnmU21vn6wnCJ2t0ZRtzJR8= Received: by 10.114.27.20 with SMTP id a20mr585168waa.1172483446351; Mon, 26 Feb 2007 01:50:46 -0800 (PST) Received: by 10.114.160.14 with HTTP; Mon, 26 Feb 2007 01:50:46 -0800 (PST) Message-ID: <43a7c3700702260150i795f87a3yc4b566aac9900bdc@mail.gmail.com> Date: Mon, 26 Feb 2007 13:42:00 -0000 From: "Alexander Shabanov" To: gcc-help@gcc.gnu.org Subject: GCC backend: can C++ code be converted to C equivalent? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg00331.txt.bz2 Does anybody know if it is possible to produce C code from C++ using gcc (g++)? I know that gcc can produce an assembler output using the `S' option, but can that code be translated to the certain "crossoplatform" assembler - C code? May be there is some unofficial project which is regard to this? If yes, could you please refer me to the existing documentation? PS: I searched this via google - he has no ideas :) -- Best regards, Alexander