From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11238 invoked by alias); 22 Nov 2013 14:57:45 -0000 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 Received: (qmail 11226 invoked by uid 89); 22 Nov 2013 14:57:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-lb0-f174.google.com Received: from Unknown (HELO mail-lb0-f174.google.com) (209.85.217.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 22 Nov 2013 14:57:44 +0000 Received: by mail-lb0-f174.google.com with SMTP id c11so1026845lbj.5 for ; Fri, 22 Nov 2013 06:57:34 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.152.225.161 with SMTP id rl1mr9864513lac.5.1385132254481; Fri, 22 Nov 2013 06:57:34 -0800 (PST) Received: by 10.112.173.195 with HTTP; Fri, 22 Nov 2013 06:57:34 -0800 (PST) In-Reply-To: References: Date: Fri, 22 Nov 2013 19:40:00 -0000 Message-ID: Subject: Re: Unable to use bool type in i386.h From: Jonathan Wakely To: Terry Guo Cc: =?ISO-8859-2?Q?J=EAdrzej_Dudkiewicz?= , gcc Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00186.txt.bz2 On 22 November 2013 14:50, Terry Guo wrote: > > while the libgcc2.c is compiled as a pure C file. For GCC we have > something like GCC in C++, will we have something like LIBGCC in C++? I don't know. The public functions in libgcc are all C functions, so would (at least) need to be declared extern "C" if compiled as C++.