SUMMARY: gcc for Solaris 2.6

From: Austin, Annie (
Date: Mon Jul 10 2000 - 08:54:41 CDT

-=- Problem:

I'm having a heck of a time getting gcc set up on my 2.6 install.
I have downloaded it
The GNU gcc, g++, g77 and gcj compilers - installs in /usr/local. ) from
Once it is unpackaged and in place I run it but it complains that it cannot
create executables :-/
Could this be an issue with libraries? Should I be installing additional

-=- Resolution:
As always i could have RTFM ;-)

The most recently posted version of the FAQ is available from

But Casper Dik came up with this... (In your debt as ever Casper, You Da'

Casper says;

"What is the exact aerror message? Do you have a full SOlaris install?

The solaris FAQ says:

6.2) Which packages do I need to install to support a C compiler?

    Solaris ships with everything you need, with the exception of the
    compiler itself. Solaris ships with the include files, make, an
    assembler, linker and libraries. All this stuff lives in
    /usr/ccs/bin (add it to your PATH before /usr/ucb if that's in your
    PATH as well) /usr/ccs/lib and /usr/include.

    If you still can't find it, make sure you have the following
    packages installed on your system:

        for tools (sccs, lex, yacc, make, nm, truss, ld, as):
            SUNWbtool, SUNWsprot, SUNWtoo
        for libraries & headers:
            SUNWhea, SUNWarc, SUNWlibm, SUNWlibms
            SUNWdfbh, SUNWcg6h, SUNWxwinc, SUNWolinc,
        for 64 bit development:
            SUNWarcx, SUNWbtoox, SUNWdplx, SUNWscpux, SUNWsprox,
            SUNWtoox, SUNWlmsx, SUNWlmx, SUNWlibCx
        for ucb compat:
            SUNWsra, SUNWsrh

    These packages are all on the Solaris 2.x CDs, except that some
    packages may only exist in some releases and not in others.
    Some packages may be on separate CDs, such as the "Desktop/CDE"
    CD, but all are part of the Solaris "bundle".

    --- end of excerpt from the FAQ

The most recently posted version of the FAQ is available from

This fixed it for me. I had done an end user install as I wanted to keep the
install slim. Doh!

Thanks to all those who replied with similar ideas.

Fisher, Julie
Rachel Polanskis
Douglas Palmer
Forbes, Stephen
Mark Hollow
Torsten Schneider


The contents of this e-mail are confidential to the ordinary user
of the e-mail address to which it was addressed, and may also
be privileged. If you are not the addressee of this e-mail you may
not copy, forward, disclose or otherwise use it or any part of it
in any form whatsoever.
If you have received this e-mail in error, please e-mail the sender
by replying to this message.

MTV Networks Europe

U BEFORE POSTING please READ the FAQ located at
. and the list POLICY statement located at
A To submit questions/summaries to this list send your email message to:
A To unsubscribe from this list please send an email message to:
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:11 CDT