This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc compile?
On Mon, Apr 21, 2003 at 07:41:23PM -0700, Zack Weinberg wrote:
> "Xu, Qiang (XSSC SGP)" <Xu dot Qiang at xssc dot sgp dot xerox dot com> 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