Building gcc 2.95 on Solaris 2.6

Casper H.S. Dik - Network Security Engineer Casper.Dik@Holland.Sun.Com
Thu Oct 21 05:16:00 GMT 1999


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]

xinhuang@my-deja.com writes:

>I am trying to build gcc 2.95.1 on a Solaris 2.6 (SC 4.2 on Ultra1)
>Because I am not superuser, I cannot install the binary from
>sunfreeware. And I don't have any old gcc installed on the system.

>1. Should I set CC to "/usr/ucb/cc", or "/opt/SUNWspro/bin/cc", or
>nothing?

/opt/SUNWspro/bin/cc.

/usr/ucb/cc will hardly compile any software.

>2. Should I use "/usr/bin/make" or "/usr/local/bin/gnumake"?

/usr/ccs/bin/make you mean?  Works fine (in fact, some products will not
work with gnumake)

>3. Should I set any other env variables?

Not needed.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.


More information about the Gcc-help mailing list