From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2585 invoked from network); 20 May 2000 16:42:07 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 20 May 2000 16:42:07 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA08393 for ; Sat, 20 May 2000 12:42:06 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id KAA13656 for axp-list@redhat.com; Sat, 20 May 2000 10:42:03 -0600 From: Michal Jaegermann Message-Id: <200005201642.KAA13656@ellpspace.math.ualberta.ca> Subject: Re: aticle about DS10 / ccc vs gcc To: axp-list@redhat.com Date: Sat, 20 May 2000 10:42:03 -0600 (MDT) In-Reply-To: <01f401bfc0e3$1456b840$0301a8c0@codefu.com> from "Michael A. Smith" at May 18, 2000 12:06:51 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Michael A. Smith wrote: > > You can't share *.so files between progs compiled on different compilers, Oh? Is this really the case? Can you explain details? If this is so then we cannot share Compaq math libraries between ccc and gcc and this flies in the face of an everyday experience. Incompatibilities between g++ and cxx come from something else. Regardless - these are other tools, and not a compiler, responsible for collecting object files into a shared library. The fact that a front end provides a unified interface for doing so can be easily "unmasked" if you will use '-v' flag and look close what really happens. > if you have a suite of apps that you compile together (e.g. PHP & Apache), > *both* need to get compiled with CCC to work together. I did not try these particular examples but I would not bet on it unless C++ jumps somewhere in the picture. > I'm not a guru on kernel compiling. After reading the article, I wondered if > the kernel could be compiled with CCC... No, it cannot. Linux kernel is using many different constructs, starting from an inline assembler, which are gcc specific so it is not written in standard C. Kernels have to work in places very close to a "bare metal" and they are not "everyday programs". Don't try to learn compilation specifics, or running benchmarks, from that article you mention. You will be disappointed. Michal