From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11961 invoked by alias); 22 Oct 2002 14:55:31 -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 11952 invoked from network); 22 Oct 2002 14:55:28 -0000 Received: from unknown (HELO mail.bcpl.net) (204.255.212.10) by sources.redhat.com with SMTP; 22 Oct 2002 14:55:28 -0000 Received: from webmail.bcpl.net (webmail.bcpl.net [204.255.212.24]) by mail.bcpl.net (8.11.3/8.11.3) with ESMTP id g9MEtRr27280 for ; Tue, 22 Oct 2002 10:55:27 -0400 (EDT) X-WebMail-UserID: sabbahem Date: Tue, 22 Oct 2002 07:55:00 -0000 From: "Hillel (Sabba) Markowitz" To: GCC Help X-EXP32-SerialNo: 00002700 Subject: gclib connection on nonLinux platforms Message-ID: <3DB56016@webmail.bcpl.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2002-10/txt/msg00269.txt.bz2 When building gcc for a Linux platform, gcclib needs to be installed as well. However, the documentation does not mention what to do on nonLinuz platforms such as Solaris or TRU64 DEC (COMPAQ). #include int main(int argc, char **argv) { double complex a; a = 3. + (4. * I); printf("%g\n", cabs(a)); return 0; } In a nonLinux platform, complex.h is not found so that the complex type is not defined. The vendor compiler, however, does compile successfully. It appears from the documentation that glibc is only for Linux platforms and should not be built and installed on other platforms. Is this correct? What should be done to make sure that gcc conforms to the ISO C standard (see sections 4 and 7.3.1). Should gcc be included within the gcc include and library areas? -- Said the fox to the fish, "Join me ashore". The fish are the Jews, Torah is our water Hillel (Sabba) Markowitz - sabbahem@bcpl.net