From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30293 invoked by alias); 22 Apr 2003 19:39:08 -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 30283 invoked from network); 22 Apr 2003 19:39:07 -0000 Received: from unknown (HELO ns2.jaj.com) (66.93.21.106) by sources.redhat.com with SMTP; 22 Apr 2003 19:39:07 -0000 Received: by ns2.jaj.com (Postfix, from userid 1002) id 1D9172D2A0; Tue, 22 Apr 2003 15:39:07 -0400 (EDT) Date: Tue, 22 Apr 2003 21:21:00 -0000 From: Phil Edwards To: Zack Weinberg Cc: "Xu, Qiang (XSSC SGP)" , gcc@gcc.gnu.org Subject: Re: gcc compile? Message-ID: <20030422193907.GA23575@disaster.jaj.com> References: <874r4rckz0.fsf@egil.codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874r4rckz0.fsf@egil.codesourcery.com> User-Agent: Mutt/1.5.3i X-SW-Source: 2003-04/txt/msg01092.txt.bz2 On Mon, Apr 21, 2003 at 07:41:23PM -0700, Zack Weinberg wrote: > "Xu, Qiang (XSSC SGP)" writes: > > > 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. This is correct. > 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. Another option is to install (even temporarily) a prebuilt "pkg" for gcc, such as www.sunfreeware.com. Be advised that the GCC developers do not provide support for prebuilt binaries; sunfreeware.com is nevertheless a reputable site. Phil -- If ye love wealth greater than liberty, the tranquility of servitude greater than the animating contest for freedom, go home and leave us in peace. We seek not your counsel, nor your arms. Crouch down and lick the hand that feeds you; and may posterity forget that ye were our countrymen. - Samuel Adams