From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5413 invoked by alias); 22 Apr 2003 02:47:43 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 5406 invoked from network); 22 Apr 2003 02:47:42 -0000 Received: from unknown (HELO egil.codesourcery.com) (66.92.14.122) by sources.redhat.com with SMTP; 22 Apr 2003 02:47:42 -0000 Received: from zack by egil.codesourcery.com with local (Exim 3.36 #1 (Debian)) id 197nil-0008Ri-00; Mon, 21 Apr 2003 19:41:23 -0700 To: "Xu, Qiang (XSSC SGP)" Cc: gcc@gcc.gnu.org Subject: Re: gcc compile? From: Zack Weinberg Date: Tue, 22 Apr 2003 03:27:00 -0000 In-Reply-To: (Qiang Xu's message of "Tue, 22 Apr 2003 10:28:49 +0800") Message-ID: <874r4rckz0.fsf@egil.codesourcery.com> User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-04/txt/msg01035.txt.bz2 "Xu, Qiang (XSSC SGP)" writes: > hi, Zack: > > you mean gcc 2.95.3 is supposed to be compiled without the existence of any > previous version of gcc? This is supposed to be possible, yes. > But for most solaris system, it can't actually, because the defect > in the binded cc compiler to these systems? you mean actually, we > need to "pkgadd" the binary directly in solaris systems? Yes or no, depending on what you mean by 'the binary'. If I remember correctly, the package containing the Solaris compiler that works is called SUNWspro, and you have to pay extra money for it. The base Solaris system includes a binary named /usr/ucb/cc which just prints "language optional software package not installed" or words to that effect, unless SUNWspro is installed. Even if you do have SUNWspro installed, you must not use /usr/ucb/cc to build GCC, because it links against a horrifically broken BSD emulation library. Building GCC with /opt/SUNWspro/bin/cc, however, does work. zw